This commit is contained in:
Hadi 2024-06-20 11:24:41 +02:00
parent b90999d5b6
commit 73ac8d8188
7 changed files with 33 additions and 29 deletions

View File

@ -28,4 +28,3 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
- [ ] Remote push
- [ ] Ntfy auth file
- [ ] Uptime kuma or alt
- [ ] Tailscale variable

View File

@ -25,4 +25,5 @@ variables=$(echo "$variables" | sed 's/hadi/your_username/')
variables=$(echo "$variables" | sed 's/Hadi/your_username/')
variables=$(echo "$variables" | sed 's/sops = true/sops = false/')
variables=$(echo "$variables" | sed 's/obsidian = true/obsidian = false/')
variables=$(echo "$variables" | sed 's/tailscale = true/tailscale = false/')
echo "$variables" >"$GUEST_CONFIG/variables.nix"

View File

@ -40,6 +40,7 @@
bitwarden
vlc
nextcloud-client
tailscale
# Dev
go

View File

@ -47,6 +47,7 @@
};
services = {
tailscale.enable = config.var.tailscale;
xserver = {
enable = true;
xkb.layout = config.var.keyboardLayout;

View File

@ -1,6 +1,6 @@
{
{ config, ... }: {
services.tailscale = {
enable = true;
enable = config.var.tailscale;
useRoutingFeatures = "both";
authKeyFile = "/etc/tailscale/authKey";
openFirewall = true;

View File

@ -14,6 +14,7 @@
../modules/server/adguard.nix
../modules/server/ntfy-sh.nix
../modules/server/tailscale.nix
../modules/server/kuma.nix
# ../modules/server/unifi.nix # FIXME: unifi5 is deprecated
];

View File

@ -24,6 +24,7 @@
autoGarbageCollector = false;
sops = true;
obsidian = false;
tailscale = true;
theme = import ../themes/jack.nix; # select your theme here
};