mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +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, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
inherit (config) myConfig;
|
inherit (config) myConfig;
|
||||||
|
inherit (config.myConfig.tailscale) caddyServe;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
@ -21,34 +22,36 @@ in
|
||||||
|
|
||||||
caddyServe = {
|
caddyServe = {
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
inherit (myConfig.nextcloud) subdomain port;
|
subdomain = "cloud";
|
||||||
|
inherit (myConfig.nextcloud) port;
|
||||||
};
|
};
|
||||||
actualbudget = {
|
actualbudget = {
|
||||||
inherit (myConfig.actualbudget) subdomain port;
|
subdomain = "budget";
|
||||||
|
inherit (myConfig.actualbudget) port;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hedgedoc = {
|
||||||
|
enable = true;
|
||||||
|
subdomain = config.networking.hostName;
|
||||||
|
backups.enable = true;
|
||||||
|
};
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
inherit (caddyServe.nextcloud) subdomain;
|
||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
subdomain = "cloud";
|
|
||||||
};
|
};
|
||||||
actualbudget = {
|
actualbudget = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
inherit (caddyServe.actualbudget) subdomain;
|
||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
subdomain = "budget";
|
|
||||||
};
|
|
||||||
hedgedoc = {
|
|
||||||
enable = true;
|
|
||||||
backups.enable = true;
|
|
||||||
subdomain = config.networking.hostName;
|
|
||||||
};
|
};
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
deviceId = "5R2MH7T-Q2ZZS2P-ZMSQ2UJ-B6VBHES-XYLNMZ6-7FYC27L-4P7MGJ2-FY4ITQD";
|
||||||
isServer = true;
|
isServer = true;
|
||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
deviceId = "5R2MH7T-Q2ZZS2P-ZMSQ2UJ-B6VBHES-XYLNMZ6-7FYC27L-4P7MGJ2-FY4ITQD";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue