From f6f177f93a2cee0388c616e55a90bb7e95359bc2 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Wed, 7 Dec 2022 17:10:23 +1000 Subject: [PATCH] move lituus and helix around so it's normal again? --- flake.nix | 8 ++++---- hosts/helix/default.nix | 28 ++++++++++++++-------------- hosts/lituus/default.nix | 28 ++++++++++++++-------------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/flake.nix b/flake.nix index 9c032bac..805aee05 100644 --- a/flake.nix +++ b/flake.nix @@ -238,18 +238,18 @@ path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box; }; }; - helix = { + lituus = { hostname = "sealight.xyz"; profiles.system = { user = "root"; - path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix; + path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus; }; }; - lituus = { + helix = { hostname = "git.sealight.xyz"; profiles.system = { user = "root"; - path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lituus; + path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix; }; }; cube = { diff --git a/hosts/helix/default.nix b/hosts/helix/default.nix index 8d365120..8e7b1775 100644 --- a/hosts/helix/default.nix +++ b/hosts/helix/default.nix @@ -5,22 +5,22 @@ ../profiles/core ../profiles/server ../profiles/metrics - ../profiles/sealight-website - ../profiles/matrix - ../profiles/wireguard-server + ../profiles/gitea + ../profiles/rss-bridge + ../profiles/mount-mossnet + ../profiles/freshrss ]; - # mossnet.backup = { - # enable = false; - # name = "sealight"; - # paths = [ "/var/backup/postgresql" ]; - # }; + # Capsul specific + users.users.cyberian = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; - # age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; - # services.postgresqlBackup = { - # enable = false; - # databases = [ "matrix-synapse" "gitea" ]; - # location = "/var/backup/postgresql"; - # }; + mossnet.wg = { + enable = true; + ips = [ "10.0.69.5/24" ]; + privateKeyFile = "/home/anish/wg/wg-priv"; + }; } diff --git a/hosts/lituus/default.nix b/hosts/lituus/default.nix index 8e7b1775..8d365120 100644 --- a/hosts/lituus/default.nix +++ b/hosts/lituus/default.nix @@ -5,22 +5,22 @@ ../profiles/core ../profiles/server ../profiles/metrics - ../profiles/gitea - ../profiles/rss-bridge - ../profiles/mount-mossnet - ../profiles/freshrss + ../profiles/sealight-website + ../profiles/matrix + ../profiles/wireguard-server ]; - # Capsul specific - users.users.cyberian = { - isNormalUser = true; - extraGroups = [ "wheel" ]; - }; + # mossnet.backup = { + # enable = false; + # name = "sealight"; + # paths = [ "/var/backup/postgresql" ]; + # }; - mossnet.wg = { - enable = true; - ips = [ "10.0.69.5/24" ]; - privateKeyFile = "/home/anish/wg/wg-priv"; - }; + # age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; + # services.postgresqlBackup = { + # enable = false; + # databases = [ "matrix-synapse" "gitea" ]; + # location = "/var/backup/postgresql"; + # }; }