From d6f242168591a8b14c44c6b6496b51a98cef89bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 22 Feb 2024 15:19:04 +0100 Subject: Migrate to nixdeploy --- nixos/default.nix | 2 +- nixos/machine/errol.nix | 2 ++ nixos/machine/lipwig.nix | 5 +++++ nixos/machine/ridcully.nix | 2 ++ nixos/machine/spt-mox.nix | 5 +++++ nixos/machine/spt-mox2.nix | 5 +++++ nixos/machine/spt-omnia.nix | 5 +++++ 7 files changed, 25 insertions(+), 1 deletion(-) (limited to 'nixos') 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; -- cgit v1.2.3