23 lines
829 B
Nix
23 lines
829 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
|
|
nix.settings.allowed-users = [ "bartvbl" ];
|
|
nix.settings.trusted-users = [ "bartvbl" ];
|
|
|
|
users.users."bartvbl" = {
|
|
isNormalUser = true;
|
|
uid = 1004;
|
|
description = "Bart Iver van Blokland";
|
|
extraGroups = [ "users" ];
|
|
shell = pkgs.bashInteractive;
|
|
packages = with pkgs; [
|
|
rsync
|
|
];
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
# https://github.com/bartvbl.keys
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAzKmT0H81NieLRqwLQfHaR0i/W+0SzwUehqktbWF9PiPV5X0KyH0WRa1v8K4+aprn5UXZechhfVuMp+O8kR4RjEblnBvZvd4rZkAQ2+yir8XRIF0cTkFj8QozKCOOE1f/9jFyiRr9BZyHZErGqGI0Sw0OLjcgcgThedO1K2odCK4ZTnLT6Gz5TJumzMcdQ9e4XXunCOmtFEM27mafsoxhvWwYjzm5lx6XPuiKWApNVOt/ibUFIaKQ4EJazHG93H7B7PHzGb/yOn+laNJRWvz9YesgcD4EejKAGTZXD38LnsnnjzCi1HaQ9zWa3aeObzyrqhX+IIuSZGpdt9kO8X7ZZQ=="
|
|
];
|
|
};
|
|
}
|