refactor: move ark into dentritic pattern
This commit is contained in:
34
modules/koon/host/ark/sops.nix
Normal file
34
modules/koon/host/ark/sops.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ self, ... }: {
|
||||
flake.nixosModules.koonArkSops = { config, ... }: {
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
defaultSopsFile = "${self}/secrets/koon/ark/default.yaml";
|
||||
|
||||
validateSopsFiles = false;
|
||||
|
||||
secrets = {
|
||||
"restic-password" = {};
|
||||
"tunnel-credentials" = {};
|
||||
"admin-password" = {};
|
||||
|
||||
"pocket-id-encryption-key" = {
|
||||
owner = config.services.pocket-id.user;
|
||||
};
|
||||
|
||||
"waka-password-salt" = {
|
||||
owner = config.users.users.wakapi.name;
|
||||
};
|
||||
|
||||
"oauth/photos/clientId" = {};
|
||||
"oauth/photos/clientSecret" = {};
|
||||
"oauth/git/clientId" = {
|
||||
owner = config.services.gitea.user;
|
||||
};
|
||||
"oauth/git/clientSecret" = {
|
||||
owner = config.services.gitea.user;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user