nixos-config/system/mistmane/hardware-configuration.nix

42 lines
1.1 KiB
Nix
Raw Normal View History

# 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, modulesPath, ... }:
{
imports =
2021-01-15 19:27:51 +00:00
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "usbhid" "usb_storage" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2021-01-15 19:27:51 +00:00
{
device = "/dev/disk/by-uuid/de73bbb6-e56a-4aa0-8a48-c18c9d87a2b9";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/home" =
2021-01-15 19:27:51 +00:00
{
device = "/dev/disk/by-uuid/de73bbb6-e56a-4aa0-8a48-c18c9d87a2b9";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
2021-01-15 19:27:51 +00:00
{
device = "/dev/disk/by-uuid/DB30-D60A";
fsType = "vfat";
};
swapDevices =
2021-01-15 19:27:51 +00:00
[{ device = "/dev/disk/by-uuid/33353309-c592-40ba-8a72-f629c0776a82"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}