[NixOS] Enable accounts daemon in plasma

This commit is contained in:
2025-04-25 13:45:04 -06:00
parent 331ce9eec5
commit a0e6ecd222
2 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }: { pkgs, ... }:
{ {
imports = [ imports = [
./essential.nix ./essential.nix
@@ -36,7 +36,7 @@
''; '';
}; };
}; };
nix = rec { nix = {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';

View File

@@ -1,7 +1,17 @@
{ pkgs, config, makeEnable, ... }: { pkgs, config, makeEnable, ... }:
makeEnable config "myModules.plasma" true { makeEnable config "myModules.plasma" true {
services.accounts-daemon.enable = true;
services.displayManager.sddm = { services.displayManager.sddm = {
enable = true; enable = true;
settings = {
Users = {
# Show a maximum number of users
MaximumUid = 60000;
MinimumUid = 1000;
# Enable user icons
RememberLastUser = true;
};
};
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# sddm-astronaut # sddm-astronaut
]; ];