mochi/nixos/hosts/legiondary/default.nix

52 lines
1.2 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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
networking.hostId = "2132e3bf";
networking.hostName = "legiondary";
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
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
2024-06-21 12:55:52 -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-21 12:55:52 -05:00
mySystem = {
system.motd.networkInterfaces = [ "eno1" "wlp4s0" ];
2024-06-20 13:03:44 -05:00
};
}