From b24b755cba5b5bde5430017cadbc897b829c75f6 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 7 Jan 2019 20:39:50 +0100 Subject: [PATCH] import pulsebert hardware-configuration.nix --- nix/pulsebert/hardware-configuration.nix | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 nix/pulsebert/hardware-configuration.nix diff --git a/nix/pulsebert/hardware-configuration.nix b/nix/pulsebert/hardware-configuration.nix new file mode 100644 index 00000000..162a8fe6 --- /dev/null +++ b/nix/pulsebert/hardware-configuration.nix @@ -0,0 +1,29 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ]; + + boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/3a8ddd25-0c5d-4fec-b957-bdcea1c52db4"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/6490-45A0"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 4; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +}