Tailscale added.
This commit is contained in:
parent
49f8b66489
commit
a1e986b617
@ -21,6 +21,7 @@ in
|
||||
./modules/nix.nix
|
||||
# ./modules/qt.nix
|
||||
./modules/security.nix
|
||||
./modules/tailscale.nix
|
||||
./modules/users.nix
|
||||
./modules/wm.nix
|
||||
./modules/xdg.nix
|
||||
@ -184,6 +185,7 @@ in
|
||||
|
||||
i2c-tools
|
||||
android-udev-rules
|
||||
tailscale
|
||||
|
||||
logiops
|
||||
];
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "i2c-dev" "i2c-piix4" ];
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1; # Added for Tailscale
|
||||
boot.kernel.sysctl."net.ipv6.conf.enp4s0.disable_ipv6" = true;
|
||||
boot.kernel.sysctl."net.ipv6.conf.wlp5s0.disable_ipv6" = true;
|
||||
boot.kernel.sysctl."net.ipv6.conf.br0.disable_ipv6" = true;
|
||||
|
||||
@ -7,7 +7,7 @@ with pkgs;
|
||||
# ];
|
||||
# })
|
||||
# IDE's
|
||||
sublime3 vscode # vscode.languages.web vscode.languages.python vscode.languages.nix vscode.languages.bash
|
||||
sublime3 sublime-merge vscode # vscode.languages.web vscode.languages.python vscode.languages.nix vscode.languages.bash
|
||||
typora obsidian obsidian-export # vimPlugins.obsidian-nvim
|
||||
# Lunarvim Dependencies
|
||||
gnumake42 nodejs_22 cargo ripgrep cmake
|
||||
|
||||
@ -26,5 +26,5 @@ with pkgs;
|
||||
remmina
|
||||
|
||||
mapscii
|
||||
tidal-dl
|
||||
# tidal-dl
|
||||
]
|
||||
@ -64,7 +64,8 @@
|
||||
extraCommands = ''
|
||||
iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns
|
||||
'';
|
||||
trustedInterfaces = [ "br0" ];
|
||||
trustedInterfaces = [ "br0" "tailscale0" ];
|
||||
checkReversePath = "loose"; # Added for Tailscale
|
||||
};
|
||||
bridges = {
|
||||
br0 = {
|
||||
|
||||
@ -70,7 +70,6 @@
|
||||
%wheel ALL=(ALL) NOPASSWD: ${pkgs.input-remapper}/bin/input-remapper-service
|
||||
%wheel ALL=(ALL) NOPASSWD: ${pkgs.input-remapper}/bin/input-remapper-control
|
||||
%wheel ALL=(ALL) NOPASSWD: /run/wrappers/bin/systemctl restart display-manager
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
15
modules/tailscale.nix
Normal file
15
modules/tailscale.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
package = pkgs.tailscale;
|
||||
interfaceName = "tailscale0";
|
||||
openFirewall = true;
|
||||
port = 41641;
|
||||
useRoutingFeatures = "both";
|
||||
extraSetFlags = [
|
||||
"--advertise-routes=192.168.12.0/24"
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -244,10 +244,10 @@
|
||||
# "${config.home.homeDirectory}/.config/hypr/scripts/start-in-tray.sh"
|
||||
"${config.home.homeDirectory}/.config/hypr/scripts/start-keybase-gui.sh"
|
||||
|
||||
# "[workspace 4 silent] remmina -c rdp://wayne@xeon.local"
|
||||
"[workspace 4 silent] remmina -c rdp://wayne@xeon.local"
|
||||
|
||||
"[workspace 7 silent] sublime3"
|
||||
"[workspace 9 silentl] keepassxc"
|
||||
"[workspace 9 silent] keepassxc"
|
||||
"[workspace 9 silent] /home/wayne/.nix-profile/bin/nextcloud --background"
|
||||
"[workspace 9 silent] /nix/store/104jb5a21d1d338zkl1f07si6brsmrk2-keybase-gui-6.2.4/bin/keybase-gui %u &"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user