flakey update

This commit is contained in:
tulg 2026-03-11 20:54:14 +03:00
parent 6c21ec9a59
commit 65333a2d6c
2 changed files with 98 additions and 49 deletions

View file

@ -12,26 +12,62 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd" "nct6775" "asus-wmi-sensors"];
boot.kernelModules = [
"kvm-amd"
"nct6775"
"asus-wmi-sensors"
];
boot.extraModulePackages = [];
fileSystems."/mnt/share" = {
device = "192.168.1.200:/mnt/hdds/Main";
fsType = "nfs";
options = ["_netdev" "noauto" "x-systemd.automount" "x-systemd.mount-timeout=10" "timeo=14" "x-systemd.idle-timeout=600"];
options = [
"_netdev"
"noauto"
"x-systemd.automount"
"x-systemd.mount-timeout=10"
"timeo=14"
"x-systemd.idle-timeout=600"
];
};
swapDevices = [];
fileSystems."/mnt/backup" = {
device = "/dev/disk/by-uuid/4242ad6b-4b5e-4990-bcf7-501f6099b429";
fsType = "ext4";
options = [
"nofail" # dont block boot if missing
# "x-systemd.automount" # mount on first access
# "x-systemd.automount" # mount on first access
"noatime"
];
};
fileSystems."/mnt/hdd1tb" = {
device = "/dev/disk/by-uuid/790092e5-074b-4007-a511-cbd8aa8cc1a7";
fsType = "ext4";
options = [
"nofail" # dont block boot if missing
# "x-systemd.automount" # mount on first access
"noatime"
];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}