2019-02-26 13:44:40 +01:00
|
|
|
{
|
2023-09-11 20:23:04 +02:00
|
|
|
nixpkgs,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-11-20 20:32:38 +01:00
|
|
|
}:
|
|
|
|
{
|
2023-09-11 20:23:04 +02:00
|
|
|
imports = [
|
|
|
|
"${nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
|
|
|
|
];
|
2019-02-26 13:44:40 +01:00
|
|
|
|
|
|
|
boot = {
|
2024-11-20 20:32:38 +01:00
|
|
|
initrd.availableKernelModules = [
|
|
|
|
"ata_piix"
|
|
|
|
"uhci_hcd"
|
|
|
|
"virtio_pci"
|
|
|
|
"sd_mod"
|
|
|
|
"sr_mod"
|
|
|
|
];
|
2023-01-29 15:56:05 +01:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2024-11-20 20:32:38 +01:00
|
|
|
kernelModules = [ ];
|
|
|
|
extraModulePackages = [ ];
|
2019-02-26 13:44:40 +01:00
|
|
|
loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/sda"; # or "nodev" for efi only
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
2023-09-11 20:23:04 +02:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/fa0c2ff3-59f9-4c00-8153-c2c2ef0f0e84";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2019-02-26 13:44:40 +01:00
|
|
|
|
2024-11-20 20:32:38 +01:00
|
|
|
swapDevices = [ ];
|
2019-02-26 13:44:40 +01:00
|
|
|
}
|