forked from DGNum/infrastructure
45 lines
1 KiB
Nix
45 lines
1 KiB
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.
|
||
{ modulesPath, ... }:
|
||
|
||
{
|
||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||
|
||
boot = {
|
||
initrd = {
|
||
availableKernelModules = [
|
||
"ahci"
|
||
"xhci_pci"
|
||
"virtio_pci"
|
||
"sr_mod"
|
||
"virtio_blk"
|
||
];
|
||
kernelModules = [ ];
|
||
|
||
luks.devices."main" = {
|
||
device = "/dev/disk/by-uuid/21a5fa9b-35d2-49c9-80f8-5161c652bdc8";
|
||
tryEmptyPassphrase = true;
|
||
};
|
||
};
|
||
|
||
kernelModules = [ "kvm-intel" ];
|
||
extraModulePackages = [ ];
|
||
};
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/9069a0a6-2f9f-4219-a2c4-248de932da6f";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/9826-E466";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
|
||
swapDevices = [ { device = "/dev/disk/by-uuid/a91c29b4-9b1b-477e-820f-3cf610158e2a"; } ];
|
||
}
|