daniel@bolle

This commit is contained in:
Peder Bergebakken Sundt 2023-08-27 03:14:01 +02:00
parent 244bdf10de
commit 48554c5224
3 changed files with 19 additions and 0 deletions

View File

@ -11,6 +11,7 @@
# TODOs:
* [ ] https://github.com/ogoid/nixos-expose-cuda
* [ ] http health monitoring `services.netdata.httpcheck.checks.<foobar>`
* [x] Split stuff into multiple files
* [x] Make a flake

View File

@ -14,6 +14,7 @@
../../users # home-manager
../../users/pbsds
../../users/daniel
../../profiles/shell/base.nix
../../profiles/shell/archives.nix

17
users/daniel/default.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
users.users.daniel = {
isNormalUser = true;
uid = 1003;
description = "daniel";
extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"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"
];
};
}