Compare commits
3 commits
9d4b2b4b7f
...
bce8fbbb78
Author | SHA1 | Date | |
---|---|---|---|
bce8fbbb78 | |||
c327895c6b | |||
37ae2afef6 |
3 changed files with 18 additions and 13 deletions
|
@ -32,6 +32,7 @@
|
||||||
"matrix"
|
"matrix"
|
||||||
"radarr"
|
"radarr"
|
||||||
"zerotier"
|
"zerotier"
|
||||||
|
"mosh"
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"photos.aciceri.dev"
|
"photos.aciceri.dev"
|
||||||
"jelly.aciceri.dev"
|
"jelly.aciceri.dev"
|
||||||
"matrix.aciceri.dev"
|
"matrix.aciceri.dev"
|
||||||
|
"vpn.aciceri.dev"
|
||||||
];
|
];
|
||||||
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
|
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
lib.mkMerge [
|
{
|
||||||
{
|
config = lib.mkMerge [
|
||||||
services.zerotierone = {
|
{
|
||||||
enable = true;
|
services.zerotierone = {
|
||||||
joinNetworks = [ "632ea29085af0cb4" ];
|
enable = true;
|
||||||
};
|
joinNetworks = [ "632ea29085af0cb4" ];
|
||||||
}
|
};
|
||||||
(lib.optionalAttrs (config.networking.hostName == "sisko") {
|
|
||||||
environment.persistence."/persist".directories = [
|
}
|
||||||
"/var/lib/zerotier-one"
|
(lib.mkIf (config.networking.hostName == "sisko") {
|
||||||
];
|
environment.persistence."/persist".directories = [
|
||||||
})
|
"/var/lib/zerotier-one"
|
||||||
]
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue