base: add main user to media group

This commit is contained in:
Antoine Martin 2021-02-19 21:46:19 +01:00
parent 2b5ef6b145
commit cfb135e118

View file

@ -10,7 +10,10 @@ in
users.users.alarsyo = { users.users.alarsyo = {
hashedPassword = secrets.shadow-hashed-password-alarsyo; hashedPassword = secrets.shadow-hashed-password-alarsyo;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [
"media"
"wheel" # Enable sudo for the user.
];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH3rrF3VSWI4n4cpguvlmLAaU3uftuX4AVV/39S/8GO9 alarsyo@thinkpad" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH3rrF3VSWI4n4cpguvlmLAaU3uftuX4AVV/39S/8GO9 alarsyo@thinkpad"