diff --git a/.drone.yml b/.drone.yml index 3b60571d..28cb026f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: commands: - 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS' - nix $$NIX_FLAGS develop --command nix flake show - - nix $$NIX_FLAGS build ".#nixosConfigurations.host_001_momo_koeln.config.system.build.toplevel" + - nix $$NIX_FLAGS build ".#nixosConfigurations.pioneer-momo-koeln.config.system.build.toplevel" - name: "Deploy" when: @@ -35,7 +35,7 @@ steps: # SSH uses HOME from /etc/passwd, not from the environment, so override it - export SSHOPTS="-o UserKnownHostsFile=$$HOME/.ssh/known_hosts -i $$HOME/.ssh/id_ed25519" - "echo DEBUG: Using NIX_FLAGS: $$NIX_FLAGS" - - nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#host_001_momo_koeln' --ssh-opts="$$SSHOPTS" + - nix $$NIX_FLAGS develop --command deploy --magic-rollback false --skip-checks --targets '.#pioneer-momo-koeln' --ssh-opts="$$SSHOPTS" --- kind: pipeline @@ -161,6 +161,6 @@ volumes: --- kind: signature -hmac: a600be61980312efec74374647cdff7e3876a7858caf51433a8b76148312edc1 +hmac: 8a7c45d0792bd7d4f88ecc397492a5703d1ca0de74d2aaadc075a2f59fa2516b ... diff --git a/flake.nix b/flake.nix index 3cd3c140..b95cd6eb 100644 --- a/flake.nix +++ b/flake.nix @@ -121,7 +121,7 @@ suites = with profiles; rec { base = [ base-user users.root users.barkeeper ]; - host_001_momo_koeln = base; + pioneer-momo-koeln = base; }; }; }; @@ -149,7 +149,7 @@ homeConfigurations = digga.lib.mkHomeConfigurations self.nixosConfigurations; deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations { - host_001_momo_koeln = { + pioneer-momo-koeln = { hostname = "80.244.242.4"; sshUser = "barkeeper"; }; diff --git a/hosts/host_001_momo_koeln/default.nix b/hosts/host_001_momo_koeln/default.nix deleted file mode 100644 index 87aa4f50..00000000 --- a/hosts/host_001_momo_koeln/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ suites, ... }: -{ - imports = [ - ./host_001_momo_koeln.nix - ] ++ suites.host_001_momo_koeln; -} diff --git a/hosts/host_001_momo_koeln/caddy.nix b/hosts/pioneer-momo-koeln/caddy.nix similarity index 100% rename from hosts/host_001_momo_koeln/caddy.nix rename to hosts/pioneer-momo-koeln/caddy.nix diff --git a/hosts/host_001_momo_koeln/configuration.nix b/hosts/pioneer-momo-koeln/configuration.nix similarity index 100% rename from hosts/host_001_momo_koeln/configuration.nix rename to hosts/pioneer-momo-koeln/configuration.nix diff --git a/hosts/pioneer-momo-koeln/default.nix b/hosts/pioneer-momo-koeln/default.nix new file mode 100644 index 00000000..0071a39c --- /dev/null +++ b/hosts/pioneer-momo-koeln/default.nix @@ -0,0 +1,6 @@ +{ suites, ... }: +{ + imports = [ + ./pioneer-momo-koeln.nix + ] ++ suites.pioneer-momo-koeln; +} diff --git a/hosts/host_001_momo_koeln/hardware-configuration.nix b/hosts/pioneer-momo-koeln/hardware-configuration.nix similarity index 100% rename from hosts/host_001_momo_koeln/hardware-configuration.nix rename to hosts/pioneer-momo-koeln/hardware-configuration.nix diff --git a/hosts/host_001_momo_koeln/keycloak.nix b/hosts/pioneer-momo-koeln/keycloak.nix similarity index 100% rename from hosts/host_001_momo_koeln/keycloak.nix rename to hosts/pioneer-momo-koeln/keycloak.nix diff --git a/hosts/host_001_momo_koeln/host_001_momo_koeln.nix b/hosts/pioneer-momo-koeln/pioneer-momo-koeln.nix similarity index 100% rename from hosts/host_001_momo_koeln/host_001_momo_koeln.nix rename to hosts/pioneer-momo-koeln/pioneer-momo-koeln.nix