setup tailscale on katana
This commit is contained in:
parent
3826c8ab0f
commit
daca60aa85
4 changed files with 13 additions and 1 deletions
|
|
@ -73,6 +73,7 @@
|
||||||
./modules/system/desktop-environments/gnome.nix
|
./modules/system/desktop-environments/gnome.nix
|
||||||
./modules/system/desktop-environments/hyprland.nix
|
./modules/system/desktop-environments/hyprland.nix
|
||||||
./modules/system/services/syncthing.nix
|
./modules/system/services/syncthing.nix
|
||||||
|
./modules/system/services/tailscale.nix
|
||||||
|
|
||||||
] #extra modules to load
|
] #extra modules to load
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
hostName = "katana"; # Define your hostname.
|
hostName = "katana"; # Define your hostname.
|
||||||
networkmanager.enable = true; #Enable Network Manager
|
networkmanager.enable = true; #Enable Network Manager
|
||||||
firewall = {
|
firewall = {
|
||||||
|
checkReversePath = "loose";
|
||||||
allowedTCPPorts = [];
|
allowedTCPPorts = [];
|
||||||
allowedUDPPorts = [];
|
allowedUDPPorts = [];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
uutils-coreutils
|
uutils-coreutils
|
||||||
htop
|
htop
|
||||||
zsh
|
zsh
|
||||||
tailscale
|
|
||||||
dig #dns lookup
|
dig #dns lookup
|
||||||
rage #file encryption
|
rage #file encryption
|
||||||
age-plugin-yubikey #plugin for rage to manage yubi-2fa
|
age-plugin-yubikey #plugin for rage to manage yubi-2fa
|
||||||
|
|
|
||||||
11
modules/system/services/tailscale.nix
Normal file
11
modules/system/services/tailscale.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# make the tailscale command usable to users
|
||||||
|
environment.systemPackages = with pkgs;[
|
||||||
|
pkgs.tailscale
|
||||||
|
];
|
||||||
|
|
||||||
|
# enable the tailscale service
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue