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

56 lines
1.5 KiB
Nix
Raw Normal View History

2020-08-23 23:31: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, modulesPath, ... }:
{
imports =
2020-11-26 04:20:52 +00:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2020-08-23 23:31:28 +00:00
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2020-11-26 04:20:52 +00:00
{
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/nix" =
2020-11-26 04:20:52 +00:00
{
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/var/lib/flatpak" =
2020-11-26 04:20:52 +00:00
{
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
options = [ "subvol=flatpak" ];
};
fileSystems."/home" =
2020-11-26 04:20:52 +00:00
{
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
2020-11-26 04:20:52 +00:00
{
device = "/dev/disk/by-uuid/597E-B7FC";
2020-08-23 23:31:28 +00:00
fsType = "vfat";
};
swapDevices =
2020-11-26 04:20:52 +00:00
[{ device = "/dev/disk/by-uuid/52effd04-0e5a-4ac6-a0c9-5970c063e5f4"; }];
2020-08-23 23:31:28 +00:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}