This commit is contained in:
TheWanderingCrow 2025-09-02 12:54:19 -04:00
parent 08a18d473f
commit 1322951863
2 changed files with 26 additions and 0 deletions

View file

@ -10,6 +10,9 @@
...
}: {
imports = lib.flatten [
# Hardware
./hardware-configuration.nix # I want to use factor if possible
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")

View file

@ -0,0 +1,23 @@
# 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 = ["sg" "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics.enable = true;
services.xerver.videoDrivers = ["nvidia"];
hardware.nvidia.open = true;
}