mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Compare commits
No commits in common. "b7db8d2fd82d6deb323f22d8b82794af811a7976" and "c6b56d87ffac98f9af3c405c5375ae2ee35a62af" have entirely different histories.
b7db8d2fd8
...
c6b56d87ff
2 changed files with 3 additions and 6 deletions
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue