add tailscale
This commit is contained in:
parent
d311675fe9
commit
8ec108927c
@ -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`.*
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
|||||||
- [ ] Telescope shortcut for file content
|
- [ ] Telescope shortcut for file content
|
||||||
- [ ] Markdown snippets
|
- [ ] Markdown snippets
|
||||||
- [ ] Make whichkey better
|
- [ ] Make whichkey better
|
||||||
- [ ] Automount USB Key (And notify-send when it's done)
|
- [ ] Automount USB Key (And notify-send when it's done)
|
@ -1,7 +1,7 @@
|
|||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../hosts/laptop/variables.nix
|
../hosts/server/variables.nix
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
./programs/btop
|
./programs/btop
|
||||||
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
14
hosts/modules/server/tailscale.nix
Normal file
14
hosts/modules/server/tailscale.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user