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VCp6xBPDVrvlp6z9mU+TZS0UxG8ruh3Q9FFGQqJ6NTy14dj4H5pHW9toFB3uDqBltfoN6azW+DylyxgM6/0PwQn3rALmPv3Ye/Wp/p12o0YhFXWbFRhnrSv1zomU/xjSm0LXz brandy@fb04217" ];
|
|
pw-file = "/etc/nixos/local/pw-maralorn";
|
|
in
|
|
{
|
|
users.users = {
|
|
maralorn = {
|
|
description = "Malte Brandy";
|
|
isNormalUser = true;
|
|
uid = 1000;
|
|
extraGroups = [ "wheel" "systemd-journal" "networkmanager" "docker" ];
|
|
openssh.authorizedKeys.keys = keys;
|
|
passwordFile = pw-file;
|
|
};
|
|
root = {
|
|
openssh.authorizedKeys.keys = keys;
|
|
passwordFile = pw-file;
|
|
};
|
|
};
|
|
}
|