diff --git a/flake.nix b/flake.nix index b196d53..701a001 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,7 @@ age.secrets = { motiejus-work-passwd-hash.file = ./secrets/motiejus_work_passwd_hash.age; root-work-passwd-hash.file = ./secrets/root_work_passwd_hash.age; - #sasl-passwd.file = ./secrets/postfix_sasl_passwd.age; + sasl-passwd.file = ./secrets/postfix_sasl_passwd.age; syncthing-key.file = ./secrets/mtworx/syncthing/key.pem.age; syncthing-cert.file = ./secrets/mtworx/syncthing/cert.pem.age; @@ -290,6 +290,17 @@ }; }; + vno1-gdrx = { + hostname = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP; + profiles = { + system = { + sshUser = "motiejus"; + path = self.nixosConfigurations.vno1-gdrx.pkgs.deploy-rs.lib.activate.nixos self.nixosConfigurations.vno1-gdrx; + user = "root"; + }; + }; + }; + vno3-rp3b = { hostname = myData.hosts."vno3-rp3b.servers.jakst".jakstIP; profiles = { diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 47d0b63..cfc6601 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -333,6 +333,7 @@ in "fwminex.servers.jakst" "mtworx.motiejus.jakst" "vno3-rp3b.servers.jakst" + "vno1-gdrx.motiejus.jakst" ]; }; @@ -532,6 +533,10 @@ in derivationTarget = ".#mtworx"; pingTarget = myData.hosts."mtworx.motiejus.jakst".jakstIP; } + { + derivationTarget = ".#vno1-gdrx"; + pingTarget = myData.hosts."vno1-gdrx.motiejus.jakst".jakstIP; + } ]; }; diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index 16ad483..f1fc409 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -128,10 +128,10 @@ in }; }; - #postfix = { - # enable = true; - # saslPasswdPath = config.age.secrets.sasl-passwd.path; - #}; + postfix = { + enable = true; + saslPasswdPath = config.age.secrets.sasl-passwd.path; + }; syncthing = { enable = true;