teutat3s
b0790876ec
All checks were successful
Flake checks / Check (pull_request) Successful in 7m42s
55 lines
1.2 KiB
Nix
55 lines
1.2 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.
|
||
{
|
||
config,
|
||
lib,
|
||
pkgs,
|
||
modulesPath,
|
||
...
|
||
}:
|
||
|
||
{
|
||
imports = [ ];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"ata_piix"
|
||
"uhci_hcd"
|
||
"virtio_pci"
|
||
"sr_mod"
|
||
"virtio_blk"
|
||
];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
boot.initrd.luks.devices."cryptroot" = {
|
||
device = "/dev/disk/by-uuid/52a1fd17-63d7-4d0a-b7ff-74aceaf6085a";
|
||
};
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-label/nixos";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-label/boot";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/var/lib/garage/data" = {
|
||
device = "/dev/disk/by-label/data";
|
||
fsType = "xfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/garage/meta" = {
|
||
device = "/dev/disk/by-label/metadata";
|
||
fsType = "btrfs";
|
||
};
|
||
|
||
swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
virtualisation.hypervGuest.enable = true;
|
||
}
|