1
1
Fork 1
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:
oddlama 2023-05-08 14:49:28 +02:00
parent 1b9d9fc58a
commit 7ecbb69ff8
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 16 additions and 25 deletions

View file

@ -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;
};