feat(darwin): integrate Caddy server with SOPS for secret management
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
This commit is contained in:
13
darwin/shiro/services/sops.nix
Normal file
13
darwin/shiro/services/sops.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
# config,
|
||||
# pkgs,
|
||||
inputs,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
sops = {
|
||||
defaultSopsFile = ../../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/Users/${device.user}/.config/sops/age/keys.txt";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user