rename host-001
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Hendrik Sokolowski 2023-04-26 21:22:25 +02:00
parent 96df48c33a
commit 0ee8540e1f
9 changed files with 11 additions and 11 deletions

View file

@ -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.host-001-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 '.#host-001-momo-koeln' --ssh-opts="$$SSHOPTS"
---
kind: pipeline
@ -161,6 +161,6 @@ volumes:
---
kind: signature
hmac: a600be61980312efec74374647cdff7e3876a7858caf51433a8b76148312edc1
hmac: 566f6f7dc09c62ada882b100074f9f93caefc5c42b71a1f05b4e9e9945897c75
...

View file

@ -121,7 +121,7 @@
suites = with profiles; rec {
base = [ base-user users.root users.barkeeper ];
host_001_momo_koeln = base;
host-001-momo-koeln = base;
};
};
};
@ -149,7 +149,7 @@
homeConfigurations = digga.lib.mkHomeConfigurations self.nixosConfigurations;
deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations {
host_001_momo_koeln = {
host-001-momo-koeln = {
hostname = "80.244.242.4";
sshUser = "barkeeper";
};

View file

@ -0,0 +1,6 @@
{ suites, ... }:
{
imports = [
./host-001-momo-koeln.nix
] ++ suites.host-001-momo-koeln;
}

View file

@ -1,6 +0,0 @@
{ suites, ... }:
{
imports = [
./host_001_momo_koeln.nix
] ++ suites.host_001_momo_koeln;
}