Desktop Configuration Improvements #27

Merged
cameron merged 6 commits from desktop-homemanager into main 2026-05-11 09:34:35 -04:00
Owner

Desktop configuration improvements

Bug fixes

  • Enable hardware.nvidia.powerManagement.enable to fix graphical corruption on resume from sleep by saving/restoring GPU state across suspend cycles

Home Manager

  • Wire up Home Manager for the desktop user, mirroring the existing MacBook setup (useGlobalPkgs, useUserPackages)
  • Create desktop/home.nix and migrate user-level programs out of configuration.nix:
    • programs.git (with signing config) — also updated to use current HM option names (settings instead of extraConfig)
    • programs.direnv
    • programs.firefox — migrated profile path to the new XDG default (.config/mozilla/firefox) ahead of the stateVersion 26.05 bump; added TODO to remove the explicit configPath once state version is updated
    • zed-editor moved from environment.systemPackages to home.packages
  • Activate PaperWM via programs.gnome-shell.extensions instead of just installing it through environment.systemPackages, which only installed it without enabling it

Hardening

  • Set users.mutableUsers = false and add hashedPassword to the cameron user

Cleanup

  • Remove debug = true from flake-parts config — this was a nix repl introspection aid, not required for nixd LSP support, and was producing two spurious nix flake check warnings (unknown flake output 'debug' and unknown flake output 'allSystems')
## Desktop configuration improvements ### Bug fixes - Enable `hardware.nvidia.powerManagement.enable` to fix graphical corruption on resume from sleep by saving/restoring GPU state across suspend cycles ### Home Manager - Wire up Home Manager for the desktop user, mirroring the existing MacBook setup (`useGlobalPkgs`, `useUserPackages`) - Create `desktop/home.nix` and migrate user-level programs out of `configuration.nix`: - `programs.git` (with signing config) — also updated to use current HM option names (`settings` instead of `extraConfig`) - `programs.direnv` - `programs.firefox` — migrated profile path to the new XDG default (`.config/mozilla/firefox`) ahead of the `stateVersion` 26.05 bump; added TODO to remove the explicit `configPath` once state version is updated - `zed-editor` moved from `environment.systemPackages` to `home.packages` - Activate PaperWM via `programs.gnome-shell.extensions` instead of just installing it through `environment.systemPackages`, which only installed it without enabling it ### Hardening - Set `users.mutableUsers = false` and add `hashedPassword` to the cameron user ### Cleanup - Remove `debug = true` from flake-parts config — this was a `nix repl` introspection aid, not required for nixd LSP support, and was producing two spurious `nix flake check` warnings (`unknown flake output 'debug'` and `unknown flake output 'allSystems'`)
cameron deleted branch desktop-homemanager 2026-05-11 09:34:35 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cameron/infrastructure!27
No description provided.