hackens-org-configurations/machines/hackens-org/hardware-configuration.nix

40 lines
838 B
Nix
Raw Normal View History

# 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-09-24 12:33:51 +02:00
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
2024-09-24 12:33:51 +02:00
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
2024-09-24 12:33:51 +02:00
boot.initrd.availableKernelModules = [
"uhci_hcd"
"ahci"
"virtio_pci"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2024-09-24 12:33:51 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/8deb32c9-ee6a-4de8-94da-239c8ec509a2";
fsType = "btrfs";
};
2024-09-24 12:33:51 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/0795-75ED";
fsType = "vfat";
};
2024-09-24 12:33:51 +02:00
swapDevices = [ { device = "/dev/disk/by-uuid/bd7c1c01-ce31-4db3-9c06-70716020e24a"; } ];
}