2019-11-10 08:41:19 +00:00
|
|
|
|
# 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.
|
2021-10-07 00:05:02 +00:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
2019-11-10 08:41:19 +00:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2021-10-07 00:05:02 +00:00
|
|
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
2019-11-10 08:41:19 +00:00
|
|
|
|
];
|
|
|
|
|
|
2021-10-07 00:05:02 +00:00
|
|
|
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sd_mod" "sr_mod" ];
|
2019-11-10 08:41:19 +00:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2021-10-07 00:05:02 +00:00
|
|
|
|
{ device = "/dev/disk/by-uuid/e578fb8d-c975-4ee8-9f3e-ca2b5a8ef98c";
|
|
|
|
|
fsType = "ext4";
|
2019-11-10 08:41:19 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-07 00:05:02 +00:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/9CF7-499F";
|
|
|
|
|
fsType = "vfat";
|
2019-11-10 08:41:19 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-07 00:05:02 +00:00
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/82220da3-bc20-4ee4-9fc6-a7c47482fc94";
|
2019-11-10 08:41:19 +00:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
2021-10-07 00:05:02 +00:00
|
|
|
|
fileSystems."/mnt/storage" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/42a9220c-0857-45a3-98a9-7bcfff31d95c";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=storage" ];
|
2019-11-10 08:41:19 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-07 00:05:02 +00:00
|
|
|
|
swapDevices = [ ];
|
2019-11-10 08:41:19 +00:00
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2021-10-07 00:05:02 +00:00
|
|
|
|
}
|