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

51 lines
1.4 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 =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
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."/" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/var/lib/flatpak" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs";
options = [ "subvol=flatpak" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/597E-B7FC";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/52effd04-0e5a-4ac6-a0c9-5970c063e5f4"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}