1
0
Fork 0
nixos-config/system/admin.nix

19 lines
393 B
Nix
Raw Normal View History

2018-02-08 23:51:40 +00:00
let
in
{
users.users = {
2018-05-30 00:28:11 +00:00
"${me}" = {
description = "${me.name}";
2018-02-08 23:51:40 +00:00
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "systemd-journal" "networkmanager" "docker" ];
openssh.authorizedKeys.keys = keys;
2018-05-30 00:28:11 +00:00
passwordFile = "${me.pw-file}";
2018-02-08 23:51:40 +00:00
};
root = {
openssh.authorizedKeys.keys = keys;
2018-05-30 00:28:11 +00:00
passwordFile = "${me.pw-file}";
2018-02-08 23:51:40 +00:00
};
};
}