2024-12-12 14:41:43 +01:00
|
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
|
2024-01-11 12:45:01 +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.
|
2024-04-07 21:31:48 +02:00
|
|
|
|
{ modulesPath, ... }:
|
2024-01-11 12:45:01 +01:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
initrd = {
|
2024-02-02 10:51:31 +01:00
|
|
|
|
availableKernelModules = [
|
|
|
|
|
"ata_piix"
|
|
|
|
|
"uhci_hcd"
|
|
|
|
|
"ehci_pci"
|
|
|
|
|
"virtio_pci"
|
|
|
|
|
"sr_mod"
|
|
|
|
|
"virtio_blk"
|
|
|
|
|
];
|
2024-01-11 12:45:01 +01:00
|
|
|
|
kernelModules = [ ];
|
2024-06-26 22:25:40 +02:00
|
|
|
|
|
|
|
|
|
luks.devices."main" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/0092c3d6-97ce-40aa-9773-6b85fa0dfec8";
|
|
|
|
|
tryEmptyPassphrase = true;
|
|
|
|
|
};
|
2024-01-11 12:45:01 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
2024-06-26 22:25:40 +02:00
|
|
|
|
device = "/dev/disk/by-uuid/f7f94fec-cdd3-4e61-b93f-18447a395018";
|
|
|
|
|
fsType = "ext4";
|
2024-01-11 12:45:01 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/84F6-E7A3";
|
|
|
|
|
fsType = "vfat";
|
2024-06-26 22:25:40 +02:00
|
|
|
|
|
|
|
|
|
options = [
|
|
|
|
|
"fmask=0022"
|
|
|
|
|
"dmask=0022"
|
|
|
|
|
];
|
2024-01-11 12:45:01 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-02-02 10:51:31 +01:00
|
|
|
|
swapDevices = [ { device = "/dev/disk/by-uuid/d64ae21e-693c-4c77-b62c-97d5e2a960cb"; } ];
|
2024-01-11 12:45:01 +01:00
|
|
|
|
}
|