Basic configuration for new servers and start modularizing config
This commit is contained in:
parent
82bb5b401c
commit
ca93d09059
38 changed files with 622 additions and 316 deletions
|
@ -21,7 +21,7 @@
|
|||
inherit system;
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
(./. + "/machines/${hostname}")
|
||||
(./modules)
|
||||
({ pkgs, ... }: {
|
||||
environment.etc."nixpkgs".source = (pkgs.runCommandNoCC "nixpkgs" { } ''
|
||||
cp -r ${nixpkgs} $out
|
||||
|
@ -30,6 +30,7 @@
|
|||
'');
|
||||
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
|
||||
})
|
||||
(./. + "/machines/${hostname}")
|
||||
];
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue