tomato/users/thorn/default.nix

20 lines
497 B
Nix

{ pkgs, ... }: {
imports = [
./fonts
];
users.users.thorn = {
hashedPassword = "$6$fN9J7sDWZCJU$bybWVlYNHod4qXOTWDl9UZZgn7Bkb17ulM6wTr7hAhyQT4wlmW0An7pcXiYu3SqjSVnEmlma5uujfZ6Z.ZUL91";
# read all pub keys from ./pubkeys
openssh.authorizedKeys.keys = map builtins.readFile (builtins.readDir ./pubkeys);
isNormalUser = true;
home = "/home/thorn";
description = "Thorn Avery";
extraGroups = [ "wheel" "networkmanager" "disks" ];
shell = pkgs.zsh;
};
}