nix-config/porthos/hardware.nix

20 lines
413 B
Nix
Raw Normal View History

# Hardware configuration
{ lib, modulesPath, ... }:
{
2021-02-07 11:44:53 +01:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2021-02-07 11:44:53 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/d89efc61-6b03-4190-b488-301c919e2431";
fsType = "ext4";
};
2021-02-07 11:44:53 +01:00
swapDevices = [
{ device = "/dev/disk/by-uuid/1a261204-2e78-496f-8a8d-d29bfa770306"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}