2023-10-24 13:54:04 +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-08-18 22:22:59 +00:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2023-10-24 13:54:04 +00:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
];
|
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = [];
|
|
|
|
|
boot.extraModulePackages = [];
|
2023-10-24 13:54:04 +00:00
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
|
cryptroot = {
|
|
|
|
|
device = "/dev/disk/by-uuid/1bd62a2a-9e5b-4ad7-8b2f-13bdf59f010c";
|
|
|
|
|
bypassWorkqueues = true; # optimization for ssds
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "zroot/root";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2023-10-24 13:54:04 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/684A-5884";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2023-10-24 13:54:04 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{device = "/dev/disk/by-uuid/a7d1cbb8-7c9e-4c3d-841a-add867f47389";}
|
|
|
|
|
];
|
2023-10-24 13:54:04 +00:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
}
|