unit/modules/hardware-configuration.nix

74 lines
1.6 KiB
Nix
Raw Normal View History

2021-03-15 12:06:30 +01: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, ... }:
{
2021-03-15 14:15:58 +01:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
2021-03-15 12:06:30 +01:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
2021-03-15 14:15:58 +01:00
fileSystems."/" = {
device = "system/stateful/root";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/nix" = {
device = "system/ephemeral/nix";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/home" = {
device = "system/stateful/home";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/tmp" = {
device = "system/ephemeral/tmp";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B314-22E9";
fsType = "vfat";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/vault" = {
device = "vault";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/vault/samba" = {
device = "vault/samba";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/vault/nextcloud" = {
device = "vault/nextcloud";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
2021-03-15 14:15:58 +01:00
fileSystems."/vault/sica" = {
device = "vault/sica";
fsType = "zfs";
};
fileSystems."/vault/backups" = {
device = "vault/backups";
fsType = "zfs";
};
fileSystems."/vault/backups/databases" = {
device = "vault/backups/databases";
fsType = "zfs";
};
2021-03-15 12:06:30 +01:00
swapDevices =
2021-03-15 14:15:58 +01:00
[{ device = "/dev/disk/by-uuid/8262a243-b6aa-49e8-bf72-d2b85864d1c0"; }];
2021-03-15 12:06:30 +01:00
}