diff --git a/nixos/boxes/colony/vms/shill/containers/middleman.nix b/nixos/boxes/colony/vms/shill/containers/middleman.nix index a9530da..d450ba4 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman.nix @@ -25,6 +25,7 @@ config = mkMerge [ { my = { + deploy.enable = false; server.enable = true; secrets = { diff --git a/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix b/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix index cccc01f..0dd19d6 100644 --- a/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix +++ b/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix @@ -27,6 +27,7 @@ config = mkMerge [ { my = { + deploy.enable = false; server.enable = true; secrets = { diff --git a/nixos/default.nix b/nixos/default.nix index 2cdaa78..62ee89d 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -51,7 +51,7 @@ let system.name = name; networking = { - domain = let d = config'.assignments.internal.domain; in mkIf (d != null) (mkDefault' d); + domain = let d = config'.assignments.internal.domain or null; in mkIf (d != null) (mkDefault' d); hostName = mkDefault (config'.assignments.internal.name or name); }; nixpkgs = { diff --git a/nixos/modules/deploy-rs.nix b/nixos/modules/deploy-rs.nix index 92e0fc0..9f4b8ee 100644 --- a/nixos/modules/deploy-rs.nix +++ b/nixos/modules/deploy-rs.nix @@ -80,7 +80,7 @@ in config = mkMerge [ { - my.deploy.enable = mkIf config.my.build.isDevVM false; + my.deploy.enable = mkIf (config.my.build.isDevVM || config.boot.isContainer) false; } (mkIf cfg.enable { my.deploy.node = {