mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: remove last uses of with lib
This commit is contained in:
parent
1b9d9fc58a
commit
7ecbb69ff8
6 changed files with 16 additions and 25 deletions
|
@ -5,8 +5,7 @@
|
|||
secrets,
|
||||
stateVersion,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
inherit (secrets) myuser;
|
||||
in {
|
||||
users.groups.${myuser}.gid = config.users.users.${myuser}.uid;
|
||||
|
@ -17,7 +16,7 @@ in {
|
|||
group = myuser;
|
||||
extraGroups =
|
||||
["wheel" "input" "video"]
|
||||
++ optionals config.sound.enable ["audio"];
|
||||
++ lib.optionals config.sound.enable ["audio"];
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue