mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Minor cleanup
This commit is contained in:
parent
6af47f2371
commit
4f8fb8a1d2
1 changed files with 13 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
inherit (config) myConfig;
|
||||
inherit (config.myConfig.tailscale) caddyServe;
|
||||
in
|
||||
{
|
||||
system.stateVersion = "24.11";
|
||||
|
|
@ -21,34 +22,36 @@ in
|
|||
|
||||
caddyServe = {
|
||||
nextcloud = {
|
||||
inherit (myConfig.nextcloud) subdomain port;
|
||||
subdomain = "cloud";
|
||||
inherit (myConfig.nextcloud) port;
|
||||
};
|
||||
actualbudget = {
|
||||
inherit (myConfig.actualbudget) subdomain port;
|
||||
subdomain = "budget";
|
||||
inherit (myConfig.actualbudget) port;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hedgedoc = {
|
||||
enable = true;
|
||||
subdomain = config.networking.hostName;
|
||||
backups.enable = true;
|
||||
};
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
inherit (caddyServe.nextcloud) subdomain;
|
||||
backups.enable = true;
|
||||
subdomain = "cloud";
|
||||
};
|
||||
actualbudget = {
|
||||
enable = true;
|
||||
inherit (caddyServe.actualbudget) subdomain;
|
||||
backups.enable = true;
|
||||
subdomain = "budget";
|
||||
};
|
||||
hedgedoc = {
|
||||
enable = true;
|
||||
backups.enable = true;
|
||||
subdomain = config.networking.hostName;
|
||||
};
|
||||
syncthing = {
|
||||
enable = true;
|
||||
deviceId = "5R2MH7T-Q2ZZS2P-ZMSQ2UJ-B6VBHES-XYLNMZ6-7FYC27L-4P7MGJ2-FY4ITQD";
|
||||
isServer = true;
|
||||
backups.enable = true;
|
||||
deviceId = "5R2MH7T-Q2ZZS2P-ZMSQ2UJ-B6VBHES-XYLNMZ6-7FYC27L-4P7MGJ2-FY4ITQD";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue