diff options
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix index a321226..2b48913 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,8 +1,7 @@ -{ config, ... }: +{ ... }: let - host = import ./. + "/host.nix"; - conf = import ./. + "/hosts/${host.name}.nix"; + host = import ./host.nix; in { - config = conf; + imports = [ (./hosts + "/${host.name}.nix") ]; } |
