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

48 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, ... }:
{
imports =
2020-11-26 04:20:52 +00:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2020-08-23 23:31:28 +00:00
];
2022-09-17 18:59:21 +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 = [ ];
fileSystems."/" =
2020-11-26 04:20:52 +00:00
{
2022-09-17 18:59:21 +00:00
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
options = [ "subvol=root" ];
};
2022-09-17 18:59:21 +00:00
fileSystems."/home" =
2020-11-26 04:20:52 +00:00
{
2022-09-17 18:59:21 +00:00
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
2022-09-17 18:59:21 +00:00
options = [ "subvol=home" ];
2020-08-23 23:31:28 +00:00
};
2022-09-17 18:59:21 +00:00
fileSystems."/nix" =
2020-11-26 04:20:52 +00:00
{
2022-09-17 18:59:21 +00:00
device = "/dev/disk/by-uuid/ee50d2d7-34ee-4fec-bee8-53ae5f464de2";
2020-08-23 23:31:28 +00:00
fsType = "btrfs";
2022-09-17 18:59:21 +00:00
options = [ "subvol=nix" ];
2020-08-23 23:31:28 +00:00
};
fileSystems."/boot" =
2020-11-26 04:20:52 +00:00
{
2022-09-17 18:59:21 +00:00
device = "/dev/disk/by-uuid/B78C-8B71";
2020-08-23 23:31:28 +00:00
fsType = "vfat";
};
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
}