hardware config removal test

This commit is contained in:
2025-11-03 22:48:41 -06:00
parent 3304d04d9d
commit 0fae0e72d3
2 changed files with 27 additions and 13 deletions

View File

@@ -1,9 +1,10 @@
{ config, lib, inputs, stable_pkgs, unstable_pkgs, ... }:
{ config, lib, modulesPath, inputs, stable_pkgs, unstable_pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
(modulesPath + "/installer/scan/not-detected.nix")
#./hardware-configuration.nix
../../nixos
../../../modules/desktop/hypr
../../../modules/desktop/greetd
@@ -30,10 +31,20 @@
#HibernateDelaySec = "30min";
};
# boot (systemd is going on me)
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.systemd.enable = true; # better logging
# boot (systemd is growing on me)
boot = {
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
loader = {
systemd-boot.enable = true; # systemd your pretty cool ya know
efi.canTouchEfiVariables = true;
};
initrd = {
systemd.enable = true; # better logging
availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" ];
kernelModules = [ ];
};
};
# setup hostname and networking stack
services.resolved = {
@@ -43,6 +54,10 @@
};
networking = {
hostName = "yveltal"; # hostname
useDHCP = lib.mkDefault true;
interfaces = {
wlp0s20f3.useDHCP = lib.mkDefault true;
};
networkmanager = {
enable = true; # the goat
dns = "systemd-resolved"; # the backup dancer!
@@ -62,5 +77,11 @@
system.stateVersion = "25.05"; # stays here : )
# hardware shit
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}