nixos/hardware/netcup-minimal.nix

18 lines
438 B
Nix
Raw Normal View History

2021-06-09 22:24:06 +02:00
{ config, lib, pkgs, modulesPath, ... }:
{
2021-11-03 14:35:32 +01:00
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2021-06-09 22:24:06 +02:00
2021-11-03 14:35:32 +01:00
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
2021-06-09 22:24:06 +02:00
2021-11-03 14:35:32 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/652432d2-a452-496c-b29d-b22c479a8545";
fsType = "ext4";
};
2021-06-09 22:24:06 +02:00
swapDevices =
2021-11-03 14:35:32 +01:00
[{ device = "/dev/disk/by-uuid/2c090f4d-4163-43b8-8b76-b1ac1c30e755"; }];
2021-06-09 22:24:06 +02:00
}