mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
fix zaatar build: move printer groups to configs/default.nix
printing.nix can't conditionally set users.users.me.extraGroups — any mention of users.users.me in the module system creates the user entry and triggers the isNormalUser/isSystemUser assertion on machines without a 'me' user (like zaatar). Move lp/scanner groups to configs/default.nix where users.users.me is defined. On zaatar, root gets lp/scanner groups directly.
This commit is contained in:
@@ -66,6 +66,8 @@ in
|
||||
extraGroups = [
|
||||
"pipewire"
|
||||
"audio"
|
||||
"lp"
|
||||
"scanner"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user