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-12-27 21:30:25 -06:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2024-06-21 12:55:52 -05:00
|
|
|
|
|
|
|
|
|
{
|
2024-12-27 21:30:25 -06:00
|
|
|
|
imports = [
|
|
|
|
|
(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 = {
|
2024-12-27 21:30:25 -06:00
|
|
|
|
initrd.availableKernelModules = [
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"nvme"
|
|
|
|
|
"ahci"
|
|
|
|
|
"usb_storage"
|
|
|
|
|
"usbhid"
|
|
|
|
|
"sd_mod"
|
|
|
|
|
];
|
2024-06-23 09:38:07 -05:00
|
|
|
|
initrd.kernelModules = [ ];
|
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
};
|
2024-06-21 12:55:52 -05:00
|
|
|
|
|
2024-12-27 21:30:25 -06:00
|
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
|
|
|
|
device = "zroot/root";
|
|
|
|
|
fsType = "zfs";
|
2024-06-21 12:55:52 -05:00
|
|
|
|
};
|
2024-06-20 13:03:44 -05:00
|
|
|
|
|
2024-12-27 21:30:25 -06:00
|
|
|
|
"/nix" = {
|
|
|
|
|
device = "zroot/nix";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/var" = {
|
|
|
|
|
device = "zroot/var";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/home" = {
|
|
|
|
|
device = "zroot/home";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-06-24 13:11:35 -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-12-27 21:30:25 -06:00
|
|
|
|
system.motd.networkInterfaces = [
|
|
|
|
|
"eno1"
|
|
|
|
|
"wlp4s0"
|
|
|
|
|
];
|
2024-06-20 13:03:44 -05:00
|
|
|
|
};
|
|
|
|
|
}
|