{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { initrd = { availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ]; }; kernelModules = [ ]; extraModulePackages = [ ]; }; fileSystems = { "/" = { device = "/dev/disk/by-uuid/20b7eff3-fca5-4b60-a5a9-13219f70ce23"; fsType = "ext4"; }; "/boot/efi" = { device = "/dev/disk/by-uuid/0B6D-0DCD"; fsType = "vfat"; }; # "/data/photos" = { # device = "//192.168.0.11/CANVAS"; # fsType = "cifs"; # options = let # # this line prevents hanging on network split # automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; # in ["${automount_opts},credentials=/etc/nixos/smb-secrets"]; # }; }; swapDevices = [ { device = "/dev/disk/by-uuid/f3679da0-45b3-45c0-a1d0-af8d771a7dbf"; } ]; networking = { hostId = "7a139e16"; useDHCP = lib.mkDefault true; }; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }