Add nixos-hardware
This commit is contained in:
parent
d60fad5545
commit
650bcbb2de
3 changed files with 27 additions and 1 deletions
|
|
@ -19,6 +19,8 @@
|
|||
nix-pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nix-pre-commit-hooks.url = "github:cachix/git-hooks.nix/master";
|
||||
|
||||
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
||||
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
|
||||
nixpkgsMaster.url = "github:NixOS/nixpkgs/master";
|
||||
|
|
@ -133,6 +135,7 @@
|
|||
|
||||
nixosConfigurations = nixpkgs.lib.mapAttrs
|
||||
(hostname: { system
|
||||
, extraModules ? [ ]
|
||||
, targetHost ? hostname
|
||||
, nixpkgs ? inputs.nixpkgs
|
||||
}: nixpkgs.lib.nixosSystem rec {
|
||||
|
|
@ -169,7 +172,7 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.disko.nixosModules.disko
|
||||
];
|
||||
] ++ extraModules;
|
||||
})
|
||||
(import ./hosts inputs);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue