config/users/eirikwit/default.nix

23 lines
664 B
Nix
Raw Normal View History

2024-06-15 20:15:32 +02:00
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
2024-07-31 21:47:36 +02:00
nix.settings.allowed-users = [ "eirikwit" ];
nix.settings.trusted-users = [ "eirikwit" ];
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-31 21:47:36 +02:00
extraGroups = [ "users" ];
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"
];
};
}