nixos/core: cleanup unused groups
This commit is contained in:
parent
fb6a21be12
commit
59494644db
1 changed files with 4 additions and 8 deletions
|
@ -79,16 +79,12 @@
|
||||||
users.users."guanranwang" = {
|
users.users."guanranwang" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Guanran Wang";
|
description = "Guanran Wang";
|
||||||
extraGroups = [
|
|
||||||
"wheel" # administrator
|
|
||||||
"networkmanager" # access to networkmanager
|
|
||||||
"tss" # access to tpm devices
|
|
||||||
"vboxusers" # access to virtualbox
|
|
||||||
"nix-access-tokens" # access to github tokens
|
|
||||||
"libvirtd" # access to virt-manager
|
|
||||||
];
|
|
||||||
hashedPasswordFile = config.sops.secrets."hashed-passwd".path;
|
hashedPasswordFile = config.sops.secrets."hashed-passwd".path;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"nix-access-tokens"
|
||||||
|
];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
# same as git signing
|
# same as git signing
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmd/uqiBahzKcKMJ+gT3dkUIdrWQgudspsDchDlx1E/ guanran928@outlook.com"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmd/uqiBahzKcKMJ+gT3dkUIdrWQgudspsDchDlx1E/ guanran928@outlook.com"
|
||||||
|
|
Loading…
Reference in a new issue