mochi/.archive/hosts/legiondary/default.nix

64 lines
1.4 KiB
Nix
Raw Permalink 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 =
2024-07-30 18:47:59 -05:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2024-06-21 12:55:52 -05:00
];
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
2024-07-30 18:47:59 -05:00
fileSystems =
{
"/" =
{
device = "zroot/root";
fsType = "zfs";
};
"/nix" =
{
device = "zroot/nix";
fsType = "zfs";
};
"/var" =
{
device = "zroot/var";
fsType = "zfs";
};
"/home" =
{
device = "zroot/home";
fsType = "zfs";
};
2024-06-21 12:55:52 -05:00
};
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 = {
2024-07-01 13:55:29 -05:00
purpose = "Development";
2024-06-21 12:55:52 -05:00
system.motd.networkInterfaces = [ "eno1" "wlp4s0" ];
2024-06-20 13:03:44 -05:00
};
}