From d3c23387283859b49521521467cab6526977129b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 19 Apr 2024 17:53:58 +0200 Subject: [PATCH] bart --- hosts/eple/default.nix | 1 + users/bartvbl/default.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 users/bartvbl/default.nix diff --git a/hosts/eple/default.nix b/hosts/eple/default.nix index 77802bb..aec7465 100644 --- a/hosts/eple/default.nix +++ b/hosts/eple/default.nix @@ -10,6 +10,7 @@ ../../profiles/sshd.nix ../../users/pbsds + ../../users/bartvbl ../../profiles/mounts/panorama-zfs.nix diff --git a/users/bartvbl/default.nix b/users/bartvbl/default.nix new file mode 100644 index 0000000..dab5b91 --- /dev/null +++ b/users/bartvbl/default.nix @@ -0,0 +1,18 @@ +{ config, pkgs, lib, ... }: +{ + + users.users.bartvbl = { + isNormalUser = true; + uid = 1004; + description = "Bart Iver van Blokland"; + extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff + shell = pkgs.bashInteractive; + packages = with pkgs; [ + rsync + ]; + + openssh.authorizedKeys.keys = [ + "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAzKmT0H81NieLRqwLQfHaR0i/W+0SzwUehqktbWF9PiPV5X0KyH0WRa1v8K4+aprn5UXZechhfVuMp+O8kR4RjEblnBvZvd4rZkAQ2+yir8XRIF0cTkFj8QozKCOOE1f/9jFyiRr9BZyHZErGqGI0Sw0OLjcgcgThedO1K2odCK4ZTnLT6Gz5TJumzMcdQ9e4XXunCOmtFEM27mafsoxhvWwYjzm5lx6XPuiKWApNVOt/ibUFIaKQ4EJazHG93H7B7PHzGb/yOn+laNJRWvz9YesgcD4EejKAGTZXD38LnsnnjzCi1HaQ9zWa3aeObzyrqhX+IIuSZGpdt9kO8X7ZZQ==" + ]; + }; +}