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/hyprland.nix
|
||||
./modules/system/services/syncthing.nix
|
||||
./modules/system/services/tailscale.nix
|
||||
|
||||
] #extra modules to load
|
||||
[
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
hostName = "katana"; # Define your hostname.
|
||||
networkmanager.enable = true; #Enable Network Manager
|
||||
firewall = {
|
||||
checkReversePath = "loose";
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
uutils-coreutils
|
||||
htop
|
||||
zsh
|
||||
tailscale
|
||||
dig #dns lookup
|
||||
rage #file encryption
|
||||
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