Flake: add nixos-hardware

This commit is contained in:
Toast 2023-07-19 10:37:43 +02:00
parent 582fe1b01b
commit f9830c2dfe
2 changed files with 20 additions and 1 deletions

17
flake.lock generated
View file

@ -99,6 +99,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1689320556,
"narHash": "sha256-vODUkZLWFVCvo1KPK3dC2CbXjxa9antEn5ozwlcTr48=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "d4ea64f2063820120c05f6ba93ee02e6d4671d6b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1689137672,
@ -135,6 +151,7 @@
"home-manager": "home-manager_2",
"home-manager-unstable": "home-manager-unstable",
"nix-impermanence": "nix-impermanence",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}

View file

@ -23,10 +23,12 @@ inputs = {
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nix-impermanence.url = "github:nix-community/impermanence";
};
outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstable, nix-impermanence, ... }: {
outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstable, nixos-hardware, nix-impermanence, ... }: {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
name = "Environment for toast's nixos configurations";
# The agenix cli is not needed to activate a configuration, so instead of installing it