Remove Pear, use Jupiter as school device, generalize extra users

This commit is contained in:
Bun 2025-05-05 02:31:56 -04:00
parent 1a4e8b4b88
commit a554f0a233
38 changed files with 41 additions and 231 deletions

View 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" ];
}