Remove Pear, use Jupiter as school device, generalize extra users
This commit is contained in:
parent
1a4e8b4b88
commit
a554f0a233
38 changed files with 41 additions and 231 deletions
19
modules/system/users/corn/default.nix
Normal file
19
modules/system/users/corn/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
users.users."freecorn" = lib.mkIf config.system.extraUsers.enable {
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBCADciME1/rtWOlR2BxaAkRSgIZt61SYOgjTi6hw+yS Chinook"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICtoHVAmq8Ps7EguBsV3VY4snagzkhH6aXqwbKzuGs2H Radiant"
|
||||
];
|
||||
extraGroups = [
|
||||
"audio"
|
||||
"video"
|
||||
];
|
||||
uid = 1001;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = [ "/home/freecorn" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue