add tailscale

This commit is contained in:
Hadi 2024-06-18 14:05:14 +02:00 committed by GitHub
parent d311675fe9
commit 8ec108927c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Themes # Themes
Themes are defined in `hosts/themes`. Those themes define the colors, fonts, icons, etc, used by Hyprland and the apps installed. Themes are defined in `hosts/themes`. Those themes define the colors, fonts, icons, etc, used by Hyprland and the apps/programs installed.
You can change the selected theme by changing the import statement at the top of your host's variables file. You can change the selected theme by changing the import statement of your host's variables file.
*To apply the theme to Duckduckgo, follow the instructions in `$HOME/.duckduckgo-colorscheme.js`.* *To apply the theme to Duckduckgo, follow the instructions in `$HOME/.duckduckgo-colorscheme.js`.*

View File

@ -1,7 +1,7 @@
{ pkgs, config, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
../hosts/laptop/variables.nix ../hosts/server/variables.nix
# Programs # Programs
./programs/btop ./programs/btop

View File

@ -19,6 +19,11 @@
owner = "cloudflare-dyndns"; owner = "cloudflare-dyndns";
group = "cloudflare-dyndns"; group = "cloudflare-dyndns";
}; };
tailscaled-authKey = {
path = "/etc/tailscale/authKey";
owner = "tailscaled";
group = "tailscaled";
};
}; };
}; };

View File

@ -0,0 +1,14 @@
{config, ...}:{
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
authKeyFile = "/etc/tailscale/authKey";
openFirewall = true;
extraUpFlags = [ "--advertise-exit-node" ];
};
# Fix DNS & IPv6 bugs
networking.nftables.enable = true;
services.resolved.enable = true;
}