{ config, lib, modulesPath, self, ... }: let nixosDevice = "/dev/disk/by-uuid/78655110-4037-4b06-9407-f155c595c3a3"; commonBtrfsOptions = [ "compress-force=zstd:1" "noatime" "discard=async" "space_cache=v2" ]; in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") (import "${self}/hosts/shared/hardware-configuration.nix") ]; swapDevices = [ ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; boot = { kernelModules = [ "kvm-amd" ]; extraModulePackages = [ ]; initrd = { kernelModules = [ ]; availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ]; }; }; fileSystems = { "/" = { device = nixosDevice; fsType = "btrfs"; options = commonBtrfsOptions ++ [ "subvol=@" ]; }; "/home" = { device = nixosDevice; fsType = "btrfs"; options = commonBtrfsOptions ++ [ "subvol=@home" ]; }; "/var" = { device = nixosDevice; fsType = "btrfs"; options = commonBtrfsOptions ++ [ "subvol=@var" ]; }; "/nix" = { device = nixosDevice; fsType = "btrfs"; options = commonBtrfsOptions ++ [ "subvol=@nix" ]; }; "/boot" = { device = "/dev/disk/by-uuid/5B1D-BD89"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; }; }