stockholm/jeschli/1systems/bln/hardware-configuration.nix

37 lines
1.0 KiB
Nix
Raw Normal View History

2017-12-14 16:10:28 +00:00
# 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 =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
2018-03-20 14:17:36 +00:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sr_mod" "rtsx_pci_sdmmc" ];
2017-12-14 16:10:28 +00:00
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2018-03-20 14:17:36 +00:00
boot.initrd.luks.devices.crypted.device = "/dev/disk/by-uuid/25534522-5748-4dcc-a5ca-80a3ac70f59d";
2017-12-14 16:10:28 +00:00
fileSystems."/" =
2018-03-20 14:17:36 +00:00
{ device = "/dev/disk/by-uuid/496c8889-96db-446d-9bac-60d4347faeac";
2017-12-14 16:10:28 +00:00
fsType = "ext4";
};
fileSystems."/home" =
2018-03-20 14:17:36 +00:00
{ device = "/dev/disk/by-uuid/2785adf5-a99e-49d7-86d6-99f393f457ea";
2017-12-14 16:10:28 +00:00
fsType = "ext4";
};
2018-03-20 14:17:36 +00:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/927E-01A0";
fsType = "vfat";
};
2017-12-14 16:10:28 +00:00
swapDevices = [ ];
2018-03-20 14:17:36 +00:00
nix.maxJobs = lib.mkDefault 8;
2017-12-14 16:10:28 +00:00
powerManagement.cpuFreqGovernor = "powersave";
}