It works now

Signed-off-by: Alex S <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-05-06 19:07:16 +00:00
parent d2e29dba7a
commit b1add2bd6a
3 changed files with 22 additions and 2 deletions

View file

@ -512,6 +512,21 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1683269598,
"narHash": "sha256-KNsb+nBbB1Fmxd07dt4E0KXMT4YeKJB7gQaA6Xfk+mo=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "51559e691f1493a26f94f1df1aaf516bb507e78b",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1680213900, "lastModified": 1680213900,
@ -766,6 +781,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-doom-emacs": "nix-doom-emacs", "nix-doom-emacs": "nix-doom-emacs",
"nix-software-center": "nix-software-center", "nix-software-center": "nix-software-center",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
} }
}, },

View file

@ -9,7 +9,8 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
helix.url = "github:helix-editor/helix"; helix.url = "github:helix-editor/helix";
nixos-hardware.url = "github:NixOS/nixos-hardware";
}; };
outputs = { self, nixpkgs, home-manager, ... }@inputs: { outputs = { self, nixpkgs, home-manager, ... }@inputs: {

View file

@ -9,18 +9,21 @@
helix = inputs.helix.packages.${pkgs.system}.default; helix = inputs.helix.packages.${pkgs.system}.default;
/*
nixosHardware = pkgs.fetchFromGitHub { nixosHardware = pkgs.fetchFromGitHub {
owner = "NixOS"; owner = "NixOS";
repo = "nixos-hardware"; repo = "nixos-hardware";
rev = "51559e691f1493a26f94f1df1aaf516bb507e78b"; rev = "51559e691f1493a26f94f1df1aaf516bb507e78b";
sha256 = "0spswivyk006h5xr0a0yhr7wr9fh0kg7cfyxqmk521svf3x1pnr8"; sha256 = "0spswivyk006h5xr0a0yhr7wr9fh0kg7cfyxqmk521svf3x1pnr8";
}; };
*/
in { in {
# imports = ["${fetchTarball "https://github.com/NixOS/nixos-hardware/archive/936e4649098d6a5e0762058cb7687be1b2d90550.tar.gz" }/raspberry-pi/4"]; # imports = ["${fetchTarball "https://github.com/NixOS/nixos-hardware/archive/936e4649098d6a5e0762058cb7687be1b2d90550.tar.gz" }/raspberry-pi/4"];
imports = [ imports = [
"${nixosHardware}/raspberry-pi/4" # "${nixosHardware}/raspberry-pi/4"
"${inputs.nixos-hardware}/raspberry-pi/4"
]; ];
fileSystems = { fileSystems = {