diff --git a/.sops.yaml b/.sops.yaml index 80c64b1..b3de95b 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -9,11 +9,11 @@ creation_rules: key_groups: - age: - *primary - - path_regex: secrets/homelab-secrets.yaml$ + - path_regex: secrets/spacestation-secrets.yaml$ key_groups: - age: - *primary - - path_regex: secrets/homelab-secrets.lesser.json$ + - path_regex: secrets/spacestation-secrets.lesser.json$ key_groups: - age: - *primary diff --git a/flake.nix b/flake.nix index 7ed4548..0cafe92 100644 --- a/flake.nix +++ b/flake.nix @@ -74,7 +74,7 @@ in { nixosConfigurations = create-host [ "battleship" - "homelab" + "spacestation" ]; }; } diff --git a/hosts/homelab/configuration.nix b/hosts/spacestation/configuration.nix similarity index 98% rename from hosts/homelab/configuration.nix rename to hosts/spacestation/configuration.nix index ba226c8..98008da 100755 --- a/hosts/homelab/configuration.nix +++ b/hosts/spacestation/configuration.nix @@ -14,7 +14,7 @@ programs.nih.enable = true; programs.nih.flakeDir = "/home/guz/.nix"; - programs.nih.host = "homelab"; + programs.nih.host = "spacestation"; profiles.locale.enable = true; diff --git a/hosts/homelab/hardware-configuration.nix b/hosts/spacestation/hardware-configuration.nix similarity index 100% rename from hosts/homelab/hardware-configuration.nix rename to hosts/spacestation/hardware-configuration.nix diff --git a/hosts/homelab/home.nix b/hosts/spacestation/home.nix similarity index 100% rename from hosts/homelab/home.nix rename to hosts/spacestation/home.nix diff --git a/hosts/homelab/secrets.nix b/hosts/spacestation/secrets.nix similarity index 89% rename from hosts/homelab/secrets.nix rename to hosts/spacestation/secrets.nix index c1f4354..06a3cf0 100644 --- a/hosts/homelab/secrets.nix +++ b/hosts/spacestation/secrets.nix @@ -6,7 +6,7 @@ ... }: let lesser-secrets = with builtins; - fromJSON (readFile ../../secrets/homelab-secrets.lesser.decrypted.json); + fromJSON (readFile ../../secrets/spacestation-secrets.lesser.decrypted.json); jsonType = pkgs.formats.json {}; in { imports = [ @@ -27,7 +27,7 @@ in { sops ]; - sops.defaultSopsFile = ../../secrets/homelab-secrets.yaml; + sops.defaultSopsFile = ../../secrets/spacestation-secrets.yaml; sops.defaultSopsFormat = "yaml"; sops.secrets."guz/password" = { diff --git a/hosts/homelab/services.nix b/hosts/spacestation/services.nix similarity index 100% rename from hosts/homelab/services.nix rename to hosts/spacestation/services.nix diff --git a/secrets/homelab-secrets.lesser.json b/secrets/spacestation-secrets.lesser.json similarity index 100% rename from secrets/homelab-secrets.lesser.json rename to secrets/spacestation-secrets.lesser.json diff --git a/secrets/homelab-secrets.yaml b/secrets/spacestation-secrets.yaml similarity index 100% rename from secrets/homelab-secrets.yaml rename to secrets/spacestation-secrets.yaml