nixos/hardware/netcup-rs-2000-g9.nix
Malte Tammena d234097569 [cornu-aspersum] Add initial config
New machine hosted via Netcup, the RS2000 G9
2021-12-18 13:08:37 +01:00

20 lines
540 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/c185b0bf-145d-4ec3-8848-73da24e5caf6";
fsType = "ext4";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/112f05bd09ee0-4dfb-b94c-9c950ce411ff"; }];
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}