77 lines
1.4 KiB
Nix
77 lines
1.4 KiB
Nix
{ ... }: {
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
kernelModules = [ ];
|
|
};
|
|
kernelModules = [ "kvm-intel" "wireguard" ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/248dfcf7-999b-4dba-bfbf-0b10dbb376b1";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/home" = {
|
|
device = "rpool/home";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/backups" = {
|
|
device = "rpool/backups";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/music" = {
|
|
device = "rpool/media/music";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/movies" = {
|
|
device = "rpool/media/movies";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/pictures" = {
|
|
device = "rpool/pictures";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/tv" = {
|
|
device = "rpool/media/tv";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/nextcloud" = {
|
|
device = "rpool/nextcloud";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/git" = {
|
|
device = "rpool/git";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/media/downloads" = {
|
|
device = "rpool/downloads";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/db/postgres" = {
|
|
device = "rpool/db/postgres";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/2AC3-DB6C";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
|
|
swapDevices = [{ device = "/dev/disk/by-uuid/97d6ef56-ea18-493b-aac0-e58e773ced30"; }];
|
|
}
|