configuration.nix/common/secrets.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ config, ... }: {
sops = {
2024-06-20 00:25:27 +05:30
defaultSopsFile = ../secrets.yaml;
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-30 17:53:43 +05:30
"wireguard/psk/skipper" = {
mode = "400";
owner = config.users.users.root.name;
group = config.users.users.root.group;
};
"wireguard/psk/rico0" = {
mode = "400";
owner = config.users.users.root.name;
group = config.users.users.root.group;
};
"wireguard/psk/rico1" = {
mode = "400";
owner = config.users.users.root.name;
group = config.users.users.root.group;
};
"wireguard/psk/rico2" = {
2024-06-20 19:41:06 +05:30
mode = "400";
owner = config.users.users.root.name;
group = config.users.users.root.group;
};
};
};
}