mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01: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: {
|
mkDeployNode = hostname: {
|
||||||
hostname = "${hostname}.${
|
inherit hostname;
|
||||||
self.nixosConfigurations.${hostname}.config.custom.services.nebula.network.domain
|
sshUser = "root";
|
||||||
}";
|
|
||||||
user = "root";
|
|
||||||
interactiveSudo = true;
|
|
||||||
profiles.system.path =
|
profiles.system.path =
|
||||||
inputs.deploy-rs.lib.x86_64-linux.activate.nixos
|
inputs.deploy-rs.lib.x86_64-linux.activate.nixos
|
||||||
self.nixosConfigurations.${hostname};
|
self.nixosConfigurations.${hostname};
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ in
|
||||||
options.custom.persistence = {
|
options.custom.persistence = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
directories = lib.mkOption {
|
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 = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue