diff --git a/hosts/default.nix b/hosts/default.nix index 7a34711..820c9b6 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -27,17 +27,17 @@ inputs: let modules = concatLists [ # This is used to pre-emptively set the hostPlatform for nixpkgs. # Also, we set the system hostname here. - [ - # self.nixosModules.user - ] (singleton { networking.hostName = hostname; nixpkgs.hostPlatform = system; }) (flatten ( concatLists [ + # configuration for the host, passed as an argument. (singleton ./${hostname}/default.nix) + # common configuration, which all hosts share. (singleton ./common.nix) + # Import all files called module.nix from my modules directory. ( filter (hasSuffix "module.nix") ( map toString (listFilesRecursive ../modules)