legacy: import modules an overlays
This commit is contained in:
parent
c914ed2c44
commit
af861dd0f8
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@ let
|
||||||
host = lib.fileContents /etc/hostname;
|
host = lib.fileContents /etc/hostname;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = builtins.attrValues (import ./modules) ++ [
|
||||||
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos"
|
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos"
|
||||||
/etc/nixos/profiles/core.nix
|
/etc/nixos/profiles/core.nix
|
||||||
"/etc/nixos/hosts/${host}.nix"
|
"/etc/nixos/hosts/${host}.nix"
|
||||||
|
@ -17,4 +17,6 @@ in
|
||||||
"nixpkgs=${<nixpkgs>}"
|
"nixpkgs=${<nixpkgs>}"
|
||||||
"nixos-config=/etc/nixos/configuration.nix"
|
"nixos-config=/etc/nixos/configuration.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = lib.singleton (import ./pkgs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue