diff --git a/README.md b/README.md index 0de3441..ab69b94 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ # TODOs: +* [ ] https://github.com/ogoid/nixos-expose-cuda * [ ] http health monitoring `services.netdata.httpcheck.checks.` * [x] Split stuff into multiple files * [x] Make a flake diff --git a/hosts/bolle/default.nix b/hosts/bolle/default.nix index 258f2a3..4265b29 100644 --- a/hosts/bolle/default.nix +++ b/hosts/bolle/default.nix @@ -14,6 +14,7 @@ ../../users # home-manager ../../users/pbsds + ../../users/daniel ../../profiles/shell/base.nix ../../profiles/shell/archives.nix diff --git a/users/daniel/default.nix b/users/daniel/default.nix new file mode 100644 index 0000000..4fcfd85 --- /dev/null +++ b/users/daniel/default.nix @@ -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" + ]; + }; +}