37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{
|
||
config,
|
||
lib,
|
||
pkgs,
|
||
modulesPath,
|
||
...
|
||
}: {
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
|
||
boot.initrd.kernelModules = [];
|
||
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"];
|
||
};
|
||
|
||
swapDevices = [];
|
||
fileSystems."/mnt/backup" = {
|
||
device = "/dev/disk/by-uuid/4242ad6b-4b5e-4990-bcf7-501f6099b429";
|
||
fsType = "ext4";
|
||
options = [
|
||
"nofail" # don’t 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;
|
||
}
|