mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
more adjustments
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (config.nmasur.settings) username;
|
||||
cfg = config.nmasur.profiles.shared-media;
|
||||
in
|
||||
|
||||
@ -18,7 +19,7 @@ in
|
||||
users.groups.shared = { };
|
||||
|
||||
# Give the human user access to the shared group
|
||||
users.users.${config.user}.extraGroups = [ config.users.groups.shared.name ];
|
||||
users.users.${username}.extraGroups = [ config.users.groups.shared.name ];
|
||||
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user