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"
}
},
"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": {
"locked": {
"lastModified": 1680213900,
@ -766,6 +781,7 @@
"home-manager": "home-manager",
"nix-doom-emacs": "nix-doom-emacs",
"nix-software-center": "nix-software-center",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4"
}
},

View file

@ -9,7 +9,8 @@
url = "github:nix-community/home-manager";
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: {

View file

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