diff --git a/core/modules/default.nix b/core/modules/default.nix index 6dc49e6..6af9a77 100755 --- a/core/modules/default.nix +++ b/core/modules/default.nix @@ -1,6 +1,6 @@ { config, lib, ... }: - -{ +let hostname = config.networking.hostName; +in { imports = [ @@ -9,8 +9,8 @@ ./misc.nix # stuff that doesn't work in `/home` :( ./audio.nix # musnix and ... audio ... config ./display.nix # declarations for display management - (lib.mkIf config.networking.hostName."hades" ./zfs) + (lib.mkIf config.networking.hostName."hades" [ ./zfs ]) - ]; + ]; # ++ lib.optionals(hostname == "hades" [ ./zfs ]; ) ; }