2024-10-26 00:03:31 +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.
|
2024-10-27 16:28:20 +00:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2024-10-26 00:03:31 +00:00
|
|
|
|
|
|
|
|
|
{
|
2024-10-27 16:28:20 +00:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
];
|
2024-10-26 00:03:31 +00:00
|
|
|
|
|
2024-10-27 16:28:20 +00:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
"ahci"
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"virtio_pci"
|
|
|
|
|
"virtio_scsi"
|
|
|
|
|
"sd_mod"
|
|
|
|
|
"sr_mod"
|
|
|
|
|
];
|
2024-10-26 00:03:31 +00:00
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."cryptroot" = {
|
|
|
|
|
device = "/dev/disk/by-label/cryptroot";
|
|
|
|
|
};
|
|
|
|
|
|
2024-10-27 16:28:20 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-label/root";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2024-10-26 00:03:31 +00:00
|
|
|
|
|
2024-10-27 16:28:20 +00:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2024-10-26 00:03:31 +00:00
|
|
|
|
|
2024-10-27 16:28:20 +00:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{ device = "/dev/disk/by-label/swap"; }
|
|
|
|
|
];
|
2024-10-26 00:03:31 +00:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
}
|