1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 03:21:10 +01:00
Files
niveum/systems/scardanelli/hardware-configuration.nix

25 lines
708 B
Nix
Raw Normal View History

2020-06-10 17:37:25 +02:00
{ config, lib, pkgs, ... }: {
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
2019-01-30 17:08:07 +01:00
2020-06-10 17:37:25 +02:00
boot.initrd.availableKernelModules =
[ "ahci" "xhci_pci" "usb_storage" "sd_mod" "sdhci_acpi" "rtsx_usb_sdmmc" ];
2019-01-30 17:08:07 +01:00
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2020-06-10 17:37:25 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/8bc52e48-58e0-463d-8268-941a5a54cd4a";
fsType = "ext4";
};
2019-01-30 17:08:07 +01:00
2020-06-10 17:37:25 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6E76-4ED9";
fsType = "vfat";
};
2019-01-30 17:08:07 +01:00
swapDevices =
2020-06-10 17:37:25 +02:00
[{ device = "/dev/disk/by-uuid/b7728657-9dbd-4377-bbc9-17252b8b88d0"; }];
2019-01-30 17:08:07 +01:00
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}