mochi/nixos/hosts/legiondary/default.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

2024-06-21 12:55:52 -05:00
# 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.
2024-06-23 09:38:07 -05:00
{ config, lib, modulesPath, ... }:
2024-06-21 12:55:52 -05:00
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
networking.hostId = "2132e3bf";
networking.hostName = "legiondary";
2024-06-23 09:38:07 -05:00
boot = {
initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usb_storage" "usbhid" "sd_mod" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
2024-06-21 12:55:52 -05:00
fileSystems."/" =
{ device = "zpool/root";
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/nix" =
{ device = "zpool/nix";
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/var" =
{ device = "zpool/var";
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
fileSystems."/home" =
{ device = "zpool/home";
fsType = "zfs";
};
2024-06-20 13:03:44 -05:00
# fileSystems."/boot" =
# { device = "/dev/disk/by-uuid/E532-B74A";
# fsType = "vfat";
# options = [ "fmask=0022" "dmask=0022" ];
# };
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
swapDevices = [ ];
2024-06-20 13:03:44 -05:00
2024-06-21 12:55:52 -05:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2024-06-20 13:03:44 -05:00
2024-06-23 09:38:07 -05:00
# System settings and services.
2024-06-21 12:55:52 -05:00
mySystem = {
system.motd.networkInterfaces = [ "eno1" "wlp4s0" ];
2024-06-20 13:03:44 -05:00
};
}