diff options
author | Karel Kočí <cynerd@email.cz> | 2024-02-22 15:19:04 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-02-22 15:19:04 +0100 |
commit | d6f242168591a8b14c44c6b6496b51a98cef89bd (patch) | |
tree | 97406289c8536a04987ee19e988639032a6eba34 /nixos | |
parent | c014ef4360ebc9fe23d5abf253141f44a94160ca (diff) | |
download | nixos-personal-d6f242168591a8b14c44c6b6496b51a98cef89bd.tar.gz nixos-personal-d6f242168591a8b14c44c6b6496b51a98cef89bd.tar.bz2 nixos-personal-d6f242168591a8b14c44c6b6496b51a98cef89bd.zip |
Migrate to nixdeploy
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/default.nix | 2 | ||||
-rw-r--r-- | nixos/machine/errol.nix | 2 | ||||
-rw-r--r-- | nixos/machine/lipwig.nix | 5 | ||||
-rw-r--r-- | nixos/machine/ridcully.nix | 2 | ||||
-rw-r--r-- | nixos/machine/spt-mox.nix | 5 | ||||
-rw-r--r-- | nixos/machine/spt-mox2.nix | 5 | ||||
-rw-r--r-- | nixos/machine/spt-omnia.nix | 5 |
7 files changed, 25 insertions, 1 deletions
diff --git a/nixos/default.nix b/nixos/default.nix index 8385b11..b740024 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -8,7 +8,7 @@ in default = { imports = with self.inputs; [ - nixosdeploy.nixosModules.default + nixdeploy.nixosModules.default shellrc.nixosModules.default usbkey.nixosModules.default nixbigclown.nixosModules.default diff --git a/nixos/machine/errol.nix b/nixos/machine/errol.nix index 16223d0..8491f92 100644 --- a/nixos/machine/errol.nix +++ b/nixos/machine/errol.nix @@ -7,6 +7,8 @@ inherit (lib) mkDefault; in { config = { + deploy.enable = true; + cynerd = { desktop.enable = true; develop = true; diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix index 45d5215..7b4b7f6 100644 --- a/nixos/machine/lipwig.nix +++ b/nixos/machine/lipwig.nix @@ -5,6 +5,11 @@ ... }: { config = { + deploy = { + enable = true; + ssh.host = "cynerd.cz"; + }; + cynerd = { syncthing = { enable = false; diff --git a/nixos/machine/ridcully.nix b/nixos/machine/ridcully.nix index 3afebdd..d16cdb2 100644 --- a/nixos/machine/ridcully.nix +++ b/nixos/machine/ridcully.nix @@ -7,6 +7,8 @@ inherit (lib) mkDefault; in { config = { + deploy.enable = true; + cynerd = { desktop.enable = true; develop = true; diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix index b223e86..2371b5e 100644 --- a/nixos/machine/spt-mox.nix +++ b/nixos/machine/spt-mox.nix @@ -7,6 +7,11 @@ with builtins; with lib; { config = { + deploy = { + enable = true; + ssh.host = "mox.spt"; + }; + cynerd = { home-assistant = true; switch = { diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index 7eb5c59..73aba50 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -6,6 +6,11 @@ }: with lib; { config = { + deploy = { + enable = true; + ssh.host = "mox2.spt"; + }; + cynerd = { switch = { enable = true; diff --git a/nixos/machine/spt-omnia.nix b/nixos/machine/spt-omnia.nix index f2ea4f0..c897abc 100644 --- a/nixos/machine/spt-omnia.nix +++ b/nixos/machine/spt-omnia.nix @@ -7,6 +7,11 @@ hosts = config.cynerd.hosts.spt; in { config = { + deploy = { + enable = true; + ssh.host = "omnia.spt"; + }; + cynerd = { router = { enable = true; |