mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
30 lines
793 B
Nix
30 lines
793 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
imports =
|
|
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc" ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/83544ad3-1d23-4c2d-82bc-fafef13a996f";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/disk/by-uuid/8F9E-7556";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
swapDevices =
|
|
[ { device = "/dev/disk/by-uuid/5ea3a65e-8fdb-45fb-ad32-3759d991a83a"; }
|
|
];
|
|
|
|
# services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
nix.maxJobs = lib.mkDefault 4;
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
}
|