config/users/eirikwit/default.nix

20 lines
587 B
Nix
Raw Normal View History

2024-06-15 20:15:32 +02:00
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
2024-06-15 20:46:24 +02:00
users.users.eirikwit = {
2024-06-15 20:15:32 +02:00
isNormalUser = true;
uid = 1005;
2024-06-15 20:46:24 +02:00
description = "eirik";
2024-07-08 20:08:56 +02:00
extraGroups = [ "wheel" ]; # TODO: NAS stuff
2024-06-15 20:15:32 +02:00
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
# https://github.com/eirikwitt.keys
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZusOSiUVSMjrvNdUq4R91Gafq4XVs9C77Zt+LMPhCU"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAKjuCCi9x4+oL85cm5i1hHTnhMY2F2ZptODz7iF8qmb"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILVbiczhHW6F8s6D6VW0cMYyvQHBHds9gUMCsGj1ZvOQ"
];
};
}