forked from pub-solar/os
43 lines
987 B
Nix
43 lines
987 B
Nix
{
|
|
config,
|
|
hmUsers,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
psCfg = config.pub-solar;
|
|
in {
|
|
config = {
|
|
home-manager.users = {inherit (hmUsers) barkeeper;};
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "${psCfg.user.name}" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
|
|
pub-solar = {
|
|
user = {
|
|
name = "barkeeper";
|
|
description = "momo deployment user";
|
|
fullName = "momo infra barkeeper";
|
|
email = "admins@momo.koeln";
|
|
gpgKeyId = "";
|
|
publicKeys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII/58A18EtxnLYHu63c/+AyTSkJQSso/VVdHUFGp1CTk cardno:FFFE34353135 @hensoko"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAqkqMYgncrnczcW/0PY+Z+FmNXXpgw6D9JWTTwiainy hensoko@hensoko-tp-work"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEbaQdxp7Flz6ttELe63rn+Nt9g43qJOLih6VCMP4gPb @hensoko"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|