nixos: remove retired user accounts and related config

This commit is contained in:
2026-02-17 16:46:25 -08:00
committed by Kat Huang
parent fe90b19271
commit f9561d419c
5 changed files with 7 additions and 51 deletions

View File

@@ -1,16 +1,20 @@
{ pkgs, config, makeEnable, ... }:
{ pkgs, config, makeEnable, realUsers, ... }:
makeEnable config "myModules.plasma" true {
services.accounts-daemon.enable = true;
services.displayManager.sddm = {
enable = true;
settings = {
Users = {
# Show a maximum number of users
# Limit login candidates to regular interactive users.
MaximumUid = 60000;
MinimumUid = 1000;
# Enable user icons
RememberLastUser = true;
};
Theme = {
# Breeze hides the user chooser when users exceed this threshold.
# Keep it aligned with declared normal users so the list stays visible.
DisableAvatarsThreshold = (builtins.length realUsers) + 10;
};
};
extraPackages = with pkgs; [
# sddm-astronaut