mochi/.archive/hosts/durincore/default.nix

45 lines
883 B
Nix
Raw Permalink Normal View History

2024-06-20 08:59:56 -05:00
{ ... }: {
config = {
networking.hostId = "ad4380db";
networking.hostName = "durincore";
2024-06-23 09:38:07 -05:00
# Kernel mods
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
fileSystems = {
"/" =
{
device = "rpool/root";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
"/home" =
{
device = "rpool/home";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
"/boot" =
{
device = "/dev/disk/by-uuid/F1B9-CA7C";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
};
2024-06-20 08:59:56 -05:00
swapDevices = [ ];
# System settings and services.
mySystem = {
system.motd.networkInterfaces = [ "enp0s31f6" "wlp4s0" ];
};
};
}