mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
925462f4e1
Signed-off-by: Matt Layher <mdlayher@gmail.com>
58 lines
1.3 KiB
Nix
58 lines
1.3 KiB
Nix
# 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.
|
||
{ lib, ... }:
|
||
|
||
{
|
||
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
||
|
||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/bab1720c-5d05-4d95-8a7e-8d22ee9327f1";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/9FA3-7F58";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/primary" = {
|
||
device = "primary";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/primary/media" = {
|
||
device = "primary/media";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/primary/archive" = {
|
||
device = "primary/archive";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/primary/misc" = {
|
||
device = "primary/misc";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/primary/text" = {
|
||
device = "primary/text";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/primary/vm" = {
|
||
device = "primary/vm";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/51302f97-4b06-4bc1-8200-13217440af0f"; }];
|
||
|
||
nix.maxJobs = lib.mkDefault 16;
|
||
}
|