This commit is contained in:
waveringana 2025-07-05 03:04:29 -04:00
parent cfa997a852
commit 5744c2b3b7
5 changed files with 11 additions and 267 deletions

View file

@ -29,10 +29,12 @@
../../host-secrets.nix
];
modules.syncthing = {
services.syncthing = {
enable = true;
openDefaultPorts = true;
disableDefaultFolder = true;
user = "regent";
dataDir = "/home/regent";
configDir = "/home/regent/.config/syncthing";
};
# =============================================================================
@ -102,10 +104,10 @@
# =============================================================================
boot.supportedFilesystems = [ "nfs" ];
fileSystems."/mnt/storage" = {
/*fileSystems."/mnt/storage" = {
device = "valefar:/storage";
fsType = "nfs";
};
};*/
# =============================================================================
# SERVICES
@ -177,6 +179,6 @@
# code-server
# DHCP (disabled in favor of systemd-networkd)
# useDHCP = true;
networking.useDHCP = false;
# firewall.allowedTCPPorts = [22 80 443 2456 2457 9000 9001 9002];
}
}

View file

@ -9,11 +9,11 @@
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "vfio" "vfio_iommu_type1" "vfio_pci" ];
# boot.initrd.kernelModules = [ "vfio" "vfio_iommu_type1" "vfio_pci" ];
boot.kernelModules = [ "kvm-amd" ];
boot.kernelParams = [
"amd_iommu=on"
"vfio-pci.ids=10de:2484,10de228b,1022:149c,15b7:5045,1dbe:5236,1022:149c"
# "vfio-pci.ids=10de:2484,10de228b,1022:149c,15b7:5045,1dbe:5236,1022:149c"
];
boot.extraModulePackages = [ ];