diff --git a/flake-parts/hosts.nix b/flake-parts/hosts.nix index 55592fb..9430442 100644 --- a/flake-parts/hosts.nix +++ b/flake-parts/hosts.nix @@ -21,11 +21,8 @@ let }; mkDeployNode = hostname: { - hostname = "${hostname}.${ - self.nixosConfigurations.${hostname}.config.custom.services.nebula.network.domain - }"; - user = "root"; - interactiveSudo = true; + inherit hostname; + sshUser = "root"; profiles.system.path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname}; diff --git a/modules/system/persistence.nix b/modules/system/persistence.nix index 162acf9..594d58b 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.coercedTo lib.types.str (d: { directory = d; }) lib.types.attrs); + type = lib.types.listOf lib.types.path; default = [ ]; }; };