teutat3s
ebde93a286
All checks were successful
Flake checks / Check (pull_request) Successful in 2m4s
48 lines
918 B
Nix
48 lines
918 B
Nix
# 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.
|
||
{
|
||
config,
|
||
lib,
|
||
pkgs,
|
||
modulesPath,
|
||
...
|
||
}:
|
||
|
||
{
|
||
imports = [
|
||
(modulesPath + "/profiles/qemu-guest.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"ahci"
|
||
"xhci_pci"
|
||
"virtio_pci"
|
||
"virtio_scsi"
|
||
"sd_mod"
|
||
"sr_mod"
|
||
];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
boot.initrd.luks.devices."cryptroot" = {
|
||
device = "/dev/disk/by-label/cryptroot";
|
||
};
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-label/root";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-label/boot";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
swapDevices = [
|
||
{ device = "/dev/disk/by-label/swap"; }
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
}
|