30 lines
576 B
Nix
30 lines
576 B
Nix
|
{pkgs, ...}: {
|
||
|
users.users = {
|
||
|
jimbo = let
|
||
|
secrets = import ../common/secrets.nix;
|
||
|
in {
|
||
|
description = "Jimbo";
|
||
|
hashedPassword = secrets.jimboAccPass;
|
||
|
isNormalUser = true;
|
||
|
openssh.authorizedKeys.keys = secrets.jimKeys;
|
||
|
extraGroups = [
|
||
|
"wheel"
|
||
|
"audio"
|
||
|
"video"
|
||
|
"input"
|
||
|
"disk"
|
||
|
"dialout"
|
||
|
"networkmanager"
|
||
|
"rtkit"
|
||
|
"kvm"
|
||
|
"libvirtd"
|
||
|
"qemu-libvirtd"
|
||
|
"docker"
|
||
|
"nfsShare"
|
||
|
];
|
||
|
uid = 1000;
|
||
|
shell = pkgs.zsh;
|
||
|
};
|
||
|
};
|
||
|
}
|