mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 10:35:13 -05:00
23 lines
514 B
Nix
Executable file
23 lines
514 B
Nix
Executable file
{flake, ...}: let
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.people.user.${user0}) paths;
|
|
in {
|
|
sops = {
|
|
secrets = {
|
|
"network/synology" = {
|
|
path = "/var/lib/secrets/synology";
|
|
owner = "root";
|
|
mode = "600";
|
|
};
|
|
"network/server" = {
|
|
path = "/var/lib/secrets/server";
|
|
owner = "root";
|
|
mode = "600";
|
|
};
|
|
"discord-token" = {
|
|
path = "${paths.path0}/zookeeper/.env";
|
|
owner = user0;
|
|
};
|
|
};
|
|
};
|
|
}
|