legacy: import modules an overlays

This commit is contained in:
Timothy DeHerrera 2020-01-01 16:23:57 -07:00
parent c914ed2c44
commit af861dd0f8
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -6,7 +6,7 @@ let
host = lib.fileContents /etc/hostname;
in
{
imports = [
imports = builtins.attrValues (import ./modules) ++ [
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos"
/etc/nixos/profiles/core.nix
"/etc/nixos/hosts/${host}.nix"
@ -17,4 +17,6 @@ in
"nixpkgs=${<nixpkgs>}"
"nixos-config=/etc/nixos/configuration.nix"
];
nixpkgs.overlays = lib.singleton (import ./pkgs);
}