2022-08-09 17:11:56 -07: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")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
|
{
|
|
|
|
|
|
device = "/dev/disk/by-uuid/0fdb799e-9740-4a8b-a0cd-9c2e81a761f8";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/storage" =
|
|
|
|
|
|
{
|
|
|
|
|
|
device = "storage-pool/main";
|
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2022-08-09 22:45:33 -07:00
|
|
|
|
fileSystems."/export/storage" =
|
2022-08-09 20:30:53 -07:00
|
|
|
|
{
|
|
|
|
|
|
device = "/storage";
|
|
|
|
|
|
options = [ "bind" ];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2022-08-09 17:11:56 -07:00
|
|
|
|
fileSystems."/boot/efi" =
|
|
|
|
|
|
{
|
|
|
|
|
|
device = "/dev/disk/by-uuid/5099-A753";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
|
|
|
|
|
[{ device = "/dev/disk/by-uuid/0b031bb5-5a36-4190-b4a9-e2b53c61d2b5"; }];
|
|
|
|
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.enp42s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
# high-resolution display
|
|
|
|
|
|
hardware.video.hidpi.enable = lib.mkDefault true;
|
|
|
|
|
|
}
|