config/users/daniel/default.nix

25 lines
1.2 KiB
Nix
Raw Normal View History

2023-08-27 03:14:01 +02:00
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
2024-07-31 21:47:36 +02:00
nix.settings.allowed-users = [ "daniel" ];
nix.settings.trusted-users = [ "daniel" ];
2024-10-19 20:41:39 +02:00
users.users."daniel" = {
2023-08-27 03:14:01 +02:00
isNormalUser = true;
uid = 1003;
description = "daniel";
2024-07-31 21:47:36 +02:00
extraGroups = [ "users" ];
2023-08-27 03:14:01 +02:00
shell = pkgs.zsh;
2023-08-27 03:32:02 +02:00
packages = with pkgs; [
kitty.terminfo
];
2023-08-27 03:14:01 +02:00
openssh.authorizedKeys.keys = [
2024-06-15 20:15:32 +02:00
# https://github.com/dali99.keys
2023-08-27 03:14:01 +02:00
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp8iMOx3eTiG5AmDh2KjKcigf7xdRKn9M7iZQ4RqP0np0UN2NUbu+VAMJmkWFyi3JpxmLuhszU0F1xY+3qM3ARduy1cs89B/bBE85xlOeYhcYVmpcgPR5xduS+TuHTBzFAgp+IU7/lgxdjcJ3PH4K0ruGRcX1xrytmk/vdY8IeSk3GVWDRrRbH6brO4cCCFjX0zJ7G6hBQueTPQoOy3jrUvgpRkzZY4ZCuljXtxbuX5X/2qWAkp8ca0iTQ5FzNA5JUyj+DWeEzjIEz6GrckOdV2LjWpT9+CtOqoPZOUudE1J9mJk4snNlMQjE06It7Kr50bpwoPqnxjo7ZjlHFLezl"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6zZUC2o/xBLJ8gdgfxutlEkZVe1Nq8f/NeeEs2aESJQ+x6EcYtK74gvP0qGwZ77SUcosZYo9IG6JX2BKLCQYO7IzaUXyAc84weIxiuJdM3ZpNCZJoawSXcNfdIkULjIAYlsk+W1CvgLsF1j6atzIslRCAdLupwmeDyGOGK6TK+iHVDXNQyLcjTG5q+5j9lGUGoIoA9uVZ3vSX4aYnJRKTFyJ7UIl7/b6dfK8IPmUrsdKVLR0wMLuEDXUYKaCXMkh8pvpCFyraIW8/53hyphIW7ZZvvZMUlMHvo43DSXLNIPR0T6kVtPn3t2v5ykQlpB0IzaZ1Pgi3m5KfLJT+pWt3"
];
};
}