tomato/users/thorn/default.nix

20 lines
497 B
Nix
Raw Normal View History

2021-04-27 18:47:09 -04:00
{ 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;
2021-04-27 18:47:09 -04:00
};
}