2021-11-12 07:23:46 +01: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.
|
2022-04-27 00:21:19 +02:00
|
|
|
|
{ config
|
|
|
|
|
, lib
|
|
|
|
|
, pkgs
|
|
|
|
|
, modulesPath
|
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
];
|
2021-11-12 07:23:46 +01:00
|
|
|
|
|
2022-04-27 00:21:19 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
|
|
|
|
boot.initrd.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2021-11-12 07:23:46 +01:00
|
|
|
|
|
2022-03-01 22:19:03 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2021-11-12 07:23:46 +01:00
|
|
|
|
|
2022-03-01 22:19:03 +01:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2021-11-12 07:23:46 +01:00
|
|
|
|
|
2022-04-27 00:21:19 +02:00
|
|
|
|
swapDevices = [{ device = "/dev/disk/by-label/swap"; }];
|
2021-11-12 07:23:46 +01:00
|
|
|
|
}
|