From 809bf48e9dc4d4ccb134214a4f28c2b80a23e46e Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 10 Jan 2026 17:47:57 +0100 Subject: [PATCH 1/2] deploy-rs: Deploy over nebula --- flake-parts/hosts.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flake-parts/hosts.nix b/flake-parts/hosts.nix index 9430442..55592fb 100644 --- a/flake-parts/hosts.nix +++ b/flake-parts/hosts.nix @@ -21,8 +21,11 @@ let }; mkDeployNode = hostname: { - inherit hostname; - sshUser = "root"; + hostname = "${hostname}.${ + self.nixosConfigurations.${hostname}.config.custom.services.nebula.network.domain + }"; + user = "root"; + interactiveSudo = true; profiles.system.path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname}; From b7db8d2fd82d6deb323f22d8b82794af811a7976 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 10 Jan 2026 17:50:01 +0100 Subject: [PATCH 2/2] persistence: Copy `directories` option type from upstream --- modules/system/persistence.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/persistence.nix b/modules/system/persistence.nix index 594d58b..162acf9 100644 --- a/modules/system/persistence.nix +++ b/modules/system/persistence.nix @@ -13,7 +13,7 @@ in options.custom.persistence = { enable = lib.mkEnableOption ""; directories = lib.mkOption { - type = lib.types.listOf lib.types.path; + type = lib.types.listOf (lib.types.coercedTo lib.types.str (d: { directory = d; }) lib.types.attrs); default = [ ]; }; };