Files
nixos/hosts/monolith/default.nix
2024-07-19 16:01:26 -07:00

44 lines
904 B
Nix
Executable File

{ self, pkgs, secrets, ... }:
{
imports = [
self.nixosModules.common
self.nixosModules.server
./dns.nix
];
networking = {
hostName = "monolith";
hostId = "44551c32";
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/0c335248-f2b4-4a33-86f0-e96cfac82866";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/D945-7F54";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
"/library" = {
device = "library";
fsType = "zfs";
};
};
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
kernelModules = [ "kvm-amd" ];
supportedFilesystems = [ "zfs" ];
};
time.timeZone = "America/Los_Angeles";
system.stateVersion = "24.05";
}