2024-06-16 21:57:31 +05:30
|
|
|
{ config, ... }: {
|
|
|
|
sops = {
|
2024-06-20 00:25:27 +05:30
|
|
|
defaultSopsFile = ../secrets.yaml;
|
2024-06-16 21:57:31 +05:30
|
|
|
secrets = {
|
|
|
|
"passwd/root" = {
|
|
|
|
mode = "400";
|
|
|
|
owner = config.users.users.root.name;
|
|
|
|
group = config.users.users.root.group;
|
|
|
|
neededForUsers = true;
|
|
|
|
};
|
|
|
|
"passwd/adtya" = {
|
|
|
|
mode = "400";
|
|
|
|
owner = config.users.users.root.name;
|
|
|
|
group = config.users.users.root.group;
|
|
|
|
neededForUsers = true;
|
|
|
|
};
|
2024-06-20 19:41:06 +05:30
|
|
|
"wireguard/psk" = {
|
|
|
|
mode = "400";
|
|
|
|
owner = config.users.users.root.name;
|
|
|
|
group = config.users.users.root.group;
|
|
|
|
};
|
2024-06-16 21:57:31 +05:30
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|