This commit is contained in:
alsaiduq-lab 2025-09-02 13:20:43 -06:00
parent f8a5e7a715
commit b0429272f4
3 changed files with 31 additions and 23 deletions

View file

@ -8,23 +8,25 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "uas" "sd_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/dfac5ce5-a84e-4956-8b7d-e7f7f9fd6131";
{ device = "/dev/disk/by-uuid/042fab51-5d9c-454f-bd8f-315af4060a7d";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1C7F-E72A";
{ device = "/dev/disk/by-uuid/5830-C7C5";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
swapDevices =
[ { device = "/dev/disk/by-uuid/68153c66-e234-49a8-9ec3-7e9af73efd1c"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -1,10 +1,16 @@
{...}: {
{ pkgs, ... }:
{
services.tailscale = {
enable = true;
# some tailscale update forced this
package = pkgs.tailscale.overrideAttrs (_: {
doCheck = false;
checkPhase = "true";
});
};
networking.firewall = {
allowedUDPPorts = [41641];
trustedInterfaces = ["tailscale0"];
allowedUDPPorts = [ 41641 ];
trustedInterfaces = [ "tailscale0" ];
};
}