# 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" ]; hardware.nvidia = { modesetting.enable = true; open = false; powerManagement.enable = false; prime = { offload.enable = true; offload.enableOffloadCmd = true; nvidiaBusId = "PCI:1:0:0"; amdgpuBusId = "PCI:19:0:0"; }; }; services.xserver.videoDrivers = ["nvidia" "amdgpu"]; boot.initrd.kernelModules = []; services.avahi.allowInterfaces = ["eno1"]; 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" ]; }; fileSystems."/mnt/hdd1tb" = { device = "/dev/disk/by-uuid/790092e5-074b-4007-a511-cbd8aa8cc1a7"; fsType = "ext4"; options = [ "nofail" # don’t block boot if missing # "x-systemd.automount" # mount on first access "noatime" ]; }; fileSystems."/mnt/rclone" = { device = "virgilbackups:"; fsType = "rclone"; options = [ "nodev" "nofail" "allow_other" "args2env" "config=/home/tulg/.config/rclone.conf" "x-systemd.automount" "x-systemd.idle-timeout=60" ]; }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }