2023-05-09 13:54:45 +00:00
|
|
|
# User configuration common to all Reciproka Kolectiva servers
|
2023-04-17 10:14:19 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-04-20 03:45:06 +00:00
|
|
|
age.secrets = {
|
|
|
|
root.file = ../secrets/root.age;
|
|
|
|
fiscalvelvetpoet.file = ../secrets/fiscalvelvetpoet.age;
|
|
|
|
};
|
|
|
|
|
2023-05-09 13:54:45 +00:00
|
|
|
# Reciproka Ops groups:
|
2023-04-17 10:14:19 +00:00
|
|
|
users.groups.fiscalvelvetpoet.gid = 1000;
|
|
|
|
|
2023-05-09 13:54:45 +00:00
|
|
|
# Reciproka Ops Users
|
2023-04-17 10:14:19 +00:00
|
|
|
users.users.fiscalvelvetpoet = {
|
|
|
|
isNormalUser = true;
|
|
|
|
uid = 1000;
|
|
|
|
group = "fiscalvelvetpoet";
|
|
|
|
extraGroups = ["wheel"];
|
|
|
|
# fix this
|
2023-04-20 03:45:06 +00:00
|
|
|
passwordFile = config.age.secrets.fiscalvelvetpoet.path;
|
2023-04-17 10:14:19 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
2023-05-09 13:54:45 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJDMAhG6+40YiYy9wqruHK9M2fLwYAqikJSJ/pRjR/so fiscalvelvetpoet@reciproka"
|
2023-04-17 10:14:19 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7qAXTCAnqq+3ks4L8/2f4J8RxmrFaMOCA7m9ImbW2m fiscalvelvetpoet@sealgair"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.root = {
|
|
|
|
# fix this
|
2023-04-20 03:45:06 +00:00
|
|
|
passwordFile = config.age.secrets.root.path;
|
2023-04-17 10:14:19 +00:00
|
|
|
openssh.authorizedKeys.keys = [
|
2023-05-09 13:54:45 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJDMAhG6+40YiYy9wqruHK9M2fLwYAqikJSJ/pRjR/so fiscalvelvetpoet@reciproka"
|
2023-04-17 10:14:19 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7qAXTCAnqq+3ks4L8/2f4J8RxmrFaMOCA7m9ImbW2m fiscalvelvetpoet@sealgair"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|