Desktop config updates

Programs Added (off the top of my head):
    - spotify
    - printer stuff
    Files Added:
    - print.nix
    Important Changes:
    - Lowered linux kernel version on desktop to 6.6 as the upstream
      kernel was causing the system to restart spontaneously - most
      likely a bug with Gigabyte Z790 UD boards. The t480 config still
      uses the upstream kernel.
This commit is contained in:
Jack Mechem 2025-12-05 13:02:47 -08:00
parent 89f570a617
commit f53a991884
8 changed files with 335 additions and 17 deletions

View file

@ -0,0 +1,33 @@
# 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 = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/eaa4055f-0ae6-4fd3-877b-b3851ef35c11";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/30B4-F0D7";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ea12ddc1-5a90-4956-bc87-ac069efd4fe0"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}