mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
Compare commits
2 commits
c6b56d87ff
...
b7db8d2fd8
| Author | SHA1 | Date | |
|---|---|---|---|
| b7db8d2fd8 | |||
| 809bf48e9d |
2 changed files with 6 additions and 3 deletions
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue