Merge pull request 'rename host-001' (#224) from feature/rename-host-001 into momo/main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #224 Reviewed-by: teutat3s <teutates@mailbox.org>
This commit is contained in:
commit
e6b5fdf925
|
@ -15,7 +15,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||||
- nix $$NIX_FLAGS develop --command nix flake show
|
- 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"
|
- name: "Deploy"
|
||||||
when:
|
when:
|
||||||
|
@ -35,7 +35,7 @@ steps:
|
||||||
# SSH uses HOME from /etc/passwd, not from the environment, so override it
|
# 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"
|
- export SSHOPTS="-o UserKnownHostsFile=$$HOME/.ssh/known_hosts -i $$HOME/.ssh/id_ed25519"
|
||||||
- "echo DEBUG: Using NIX_FLAGS: $$NIX_FLAGS"
|
- "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
|
kind: pipeline
|
||||||
|
@ -161,6 +161,6 @@ volumes:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a600be61980312efec74374647cdff7e3876a7858caf51433a8b76148312edc1
|
hmac: 8a7c45d0792bd7d4f88ecc397492a5703d1ca0de74d2aaadc075a2f59fa2516b
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
suites = with profiles; rec {
|
suites = with profiles; rec {
|
||||||
base = [ base-user users.root users.barkeeper ];
|
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;
|
homeConfigurations = digga.lib.mkHomeConfigurations self.nixosConfigurations;
|
||||||
|
|
||||||
deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations {
|
deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations {
|
||||||
host_001_momo_koeln = {
|
pioneer-momo-koeln = {
|
||||||
hostname = "80.244.242.4";
|
hostname = "80.244.242.4";
|
||||||
sshUser = "barkeeper";
|
sshUser = "barkeeper";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ suites, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./host_001_momo_koeln.nix
|
|
||||||
] ++ suites.host_001_momo_koeln;
|
|
||||||
}
|
|
6
hosts/pioneer-momo-koeln/default.nix
Normal file
6
hosts/pioneer-momo-koeln/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ suites, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./pioneer-momo-koeln.nix
|
||||||
|
] ++ suites.pioneer-momo-koeln;
|
||||||
|
}
|
Loading…
Reference in a new issue