Upgrade the NixOS `stateVersion` from 25.05 to 25.11 in all system configuration files and update all nix channel URLs to the 25.11 releases. Adjust Home Manager and terminal module configurations accordingly, clean up duplicated SSH keys, and update LLaMA server command lines. Minor housekeeping changes to package definitions and other configuration files are also included.
99 lines
1.7 KiB
Nix
Executable File
99 lines
1.7 KiB
Nix
Executable File
{ namespace
|
|
, pkgs
|
|
, lib
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (lib.${namespace}) enabled;
|
|
in
|
|
{
|
|
system.stateVersion = "25.11";
|
|
time.timeZone = "America/New_York";
|
|
|
|
boot = {
|
|
supportedFilesystems = [ "nfs" ];
|
|
kernelParams = [
|
|
# Mask GPE03 (EC wakeup events) to allow hibernation without spurious CPU wakeups
|
|
"acpi_mask_gpe=0x03"
|
|
];
|
|
};
|
|
|
|
hardware = {
|
|
enableRedistributableFirmware = true;
|
|
bluetooth.enable = true;
|
|
amdgpu.initrd.enable = lib.mkDefault true;
|
|
};
|
|
|
|
services = {
|
|
xserver.videoDrivers = [ "modesetting" ];
|
|
fwupd.enable = true;
|
|
};
|
|
|
|
# System Config
|
|
reichard = {
|
|
nix = enabled;
|
|
|
|
system = {
|
|
boot = {
|
|
enable = true;
|
|
enableGrub = false;
|
|
enableSystemd = true;
|
|
silentBoot = true;
|
|
};
|
|
disk = {
|
|
enable = true;
|
|
diskPath = "/dev/nvme0n1";
|
|
};
|
|
networking = {
|
|
enable = true;
|
|
enableIWD = true;
|
|
};
|
|
};
|
|
|
|
hardware = {
|
|
opengl = enabled;
|
|
battery = {
|
|
upower = enabled;
|
|
};
|
|
};
|
|
|
|
services = {
|
|
tailscale = enabled;
|
|
avahi = enabled;
|
|
ydotool = enabled;
|
|
};
|
|
|
|
virtualisation = {
|
|
podman = enabled;
|
|
libvirtd = {
|
|
enable = true;
|
|
withVirtManager = true;
|
|
enableAMDIOMMU = true;
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
graphical = {
|
|
wms.hyprland = enabled;
|
|
};
|
|
};
|
|
|
|
security = {
|
|
sops = {
|
|
enable = true;
|
|
defaultSopsFile = lib.snowfall.fs.get-file "secrets/lin-va-thinkpad/default.yaml";
|
|
};
|
|
};
|
|
};
|
|
|
|
# Additional System Packages
|
|
environment.systemPackages = with pkgs; [
|
|
dool
|
|
jq
|
|
mosh
|
|
rclone
|
|
sqlite-interactive
|
|
unzip
|
|
];
|
|
}
|