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

54 lines
937 B
Nix
Raw Normal View History

2024-12-27 21:30:25 -06:00
{ ... }:
{
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 = {
2024-12-27 21:30:25 -06:00
availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
];
2024-06-23 09:38:07 -05:00
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
fileSystems = {
2024-12-27 21:30:25 -06:00
"/" = {
device = "rpool/root";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-12-27 21:30:25 -06:00
"/home" = {
device = "rpool/home";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-12-27 21:30:25 -06:00
"/boot" = {
device = "/dev/disk/by-uuid/F1B9-CA7C";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
2024-07-30 18:47:59 -05:00
};
2024-06-20 08:59:56 -05:00
swapDevices = [ ];
# System settings and services.
mySystem = {
2024-12-27 21:30:25 -06:00
system.motd.networkInterfaces = [
"enp0s31f6"
"wlp4s0"
];
2024-06-20 08:59:56 -05:00
};
};
}