mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 23:30:40 -05:00
refactor(users/gabriel): better groups
This commit is contained in:
@@ -10,24 +10,22 @@ in {
|
||||
users.users.gabriel = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups =
|
||||
[
|
||||
"wheel"
|
||||
"video"
|
||||
"audio"
|
||||
]
|
||||
++ ifTheyExist [
|
||||
"minecraft"
|
||||
"network"
|
||||
"wireshark"
|
||||
"i2c"
|
||||
"mysql"
|
||||
"docker"
|
||||
"podman"
|
||||
"git"
|
||||
"libvirtd"
|
||||
"deluge"
|
||||
];
|
||||
extraGroups = ifTheyExist [
|
||||
"audio"
|
||||
"deluge"
|
||||
"docker"
|
||||
"git"
|
||||
"i2c"
|
||||
"libvirtd"
|
||||
"lxd"
|
||||
"minecraft"
|
||||
"mysql"
|
||||
"network"
|
||||
"podman"
|
||||
"video"
|
||||
"wheel"
|
||||
"wireshark"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = lib.splitString "\n" (builtins.readFile ../../../../home/gabriel/ssh.pub);
|
||||
hashedPasswordFile = config.sops.secrets.gabriel-password.path;
|
||||
|
||||
Reference in New Issue
Block a user