{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/disk/by-uuid/4a3884e7-5c89-4987-8482-3b3640d2aebf"; fsType = "btrfs"; options = ["subvol=@"]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/4a3884e7-5c89-4987-8482-3b3640d2aebf"; fsType = "btrfs"; options = ["subvol=@home"]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/4a3884e7-5c89-4987-8482-3b3640d2aebf"; fsType = "btrfs"; options = ["subvol=@nix"]; }; fileSystems."/.snapshots" = { device = "/dev/disk/by-uuid/4a3884e7-5c89-4987-8482-3b3640d2aebf"; fsType = "btrfs"; options = ["subvol=@snapshots"]; }; fileSystems."/var/log" = { device = "/dev/disk/by-uuid/4a3884e7-5c89-4987-8482-3b3640d2aebf"; fsType = "btrfs"; options = ["subvol=@log"]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/5802-1BBF"; fsType = "vfat"; options = ["fmask=0022" "dmask=0022"]; }; fileSystems."/mnt/media" = { device = "//10.0.0.5/media"; fsType = "cifs"; options = ["credentials=${config.age.secrets.smb.path}" "x-systemd.automount" "nofail" "noperm" "x-systemd.after=network-online.target" "x-systemd.automount-options=--timeout=30" "_netdev"]; }; fileSystems."/mnt/backups" = { device = "//10.0.0.5/infra/backups"; fsType = "cifs"; options = ["credentials=${config.age.secrets.smb.path}" "x-systemd.automount" "nofail" "noperm" "x-systemd.after=network-online.target" "x-systemd.automount-options=--timeout=30" "_netdev"]; }; swapDevices = [ {device = "/dev/disk/by-uuid/ecbbcef6-c4c2-4cfe-bcd2-5a2e599c3009";} ]; age.secrets.smb = { file = ../../secrets/smb.age; path = "/run/secrets/smb"; }; systemd.network.wait-online.enable = true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }