{ inputs, config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/686f2143-1a65-4aef-9379-8b31403cf1b4"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" ]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/686f2143-1a65-4aef-9379-8b31403cf1b4"; fsType = "btrfs"; options = [ "subvol=home" "compress=zstd" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/686f2143-1a65-4aef-9379-8b31403cf1b4"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; fileSystems."/swap" = { device = "/dev/disk/by-uuid/686f2143-1a65-4aef-9379-8b31403cf1b4"; fsType = "btrfs"; options = [ "subvol=swap" "noatime" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/CD46-D300"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; fileSystems."/srv/nfs" = { device = "/dev/disk/by-uuid/156757ba-cddc-408f-bbac-962fa1b53ec3"; fsType = "btrfs"; options = [ "compress=zstd" ]; }; swapDevices = [ { device = "/swap/swapfile"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.eth0.useDHCP = lib.mkDefault true; # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }