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

42 lines
1.2 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, ... }:
{
2023-08-26 23:00:18 +00:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2020-08-23 23:31:28 +00:00
2023-08-26 23:00:18 +00:00
boot.initrd.availableKernelModules =
[ "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
2020-08-23 23:31:28 +00:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2023-08-26 23:00:18 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B78C-8B71";
fsType = "vfat";
};
2020-08-23 23:31:28 +00:00
swapDevices =
2022-09-17 18:59:21 +00:00
[{ device = "/dev/disk/by-uuid/057964ef-4692-4189-98c6-32e7e05565e2"; }];
2020-08-23 23:31:28 +00:00
}