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

@ -16,12 +16,13 @@
../../modules/nixos/system-packages.nix
../../modules/nixos/user-jack.nix
../../modules/nixos/sound.nix
../../modules/nixos/print.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
networking.hostName = "jackdesk";
networking.networkmanager.enable = true;
@ -33,9 +34,6 @@
time.timeZone = "America/Los_Angeles";
# Enable CUPS to print documents.
services.printing.enable = true;
services.dbus.enable = true;
programs.zsh.enable = true;
@ -67,6 +65,6 @@
services.openssh.enable = true;
system.stateVersion = "25.05";
system.stateVersion = "25.11";
}

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;
}

View file

@ -11,7 +11,7 @@
inputs.zen-browser.homeModules.twilight
../../modules/home-manager/zsh.nix
../../modules/home-manager/tmux.nix
../../modules/home-manager/hyprland.nix
../../modules/home-manager/hyprland-desktop.nix
../../modules/home-manager/homepackages.nix
../../modules/home-manager/shell-aliases.nix
];