diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-24 19:47:24 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-25 13:06:20 -0400 |
| commit | f6d8e3253f9aadce26cb9f7d51245e2691cd8627 (patch) | |
| tree | 84193b09b5e174737e165d6c22b2bc2c8935c9f2 /configuration.nix | |
| parent | ddf0c7981fbeaa6a45591a66132a330c804259ec (diff) | |
loadable hosts
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") ]; } |
