NixOS-Config/modules/system/accounts/users/jimbo/default.nix

37 lines
943 B
Nix
Raw Normal View History

2024-10-15 02:40:43 -04:00
{ pkgs, config, ... }:
2024-10-09 03:36:08 -04:00
{
2024-08-24 22:16:51 -04:00
users.users = {
jimbo = {
2024-08-24 22:16:51 -04:00
description = "Jimbo";
2024-10-15 02:40:43 -04:00
hashedPassword = config.secrets.jimboAccPass;
2024-08-24 22:16:51 -04:00
isNormalUser = true;
2024-10-15 22:41:19 -04:00
openssh.authorizedKeys.keys = [
(builtins.readFile ../../../../../hosts/firefly/id_ed25519.pub)
(builtins.readFile ../../../../../hosts/cyberspark/id_ed25519.pub)
(builtins.readFile ../../../../../hosts/shuttleworth/id_ed25519.pub)
(builtins.readFile ../../../../../hosts/lacros/id_ed25519.pub)
2024-10-15 22:41:19 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJahAoF74BY6GCTsFkt1ADKaraFgJJozW1Y1aBTLK0j9 pixel9"
];
2024-08-24 22:16:51 -04:00
extraGroups = [
"wheel"
"audio"
"video"
"input"
"disk"
"dialout"
"networkmanager"
"rtkit"
"kvm"
"libvirtd"
"qemu-libvirtd"
2024-09-02 18:30:02 -04:00
"nginx"
"minecraft"
2024-08-24 22:16:51 -04:00
"nfsShare"
];
uid = 1000;
shell = pkgs.zsh;
};
};
}