flake/nixos/sops.nix

23 lines
522 B
Nix
Raw Normal View History

2024-12-02 20:50:24 -05:00
{ user, ... }:
{
sops = {
2024-12-02 22:13:35 -05:00
defaultSopsFile = ../.sops-secrets.yaml;
2024-12-02 20:50:24 -05:00
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = {
2024-12-19 11:09:26 -05:00
"coastalcommits" = {
owner = user;
path = "/home/${user}/.secrets/coastalcommits";
};
2024-12-02 20:50:24 -05:00
"zipline" = {
owner = user;
path = "/home/${user}/.secrets/zipline";
};
2024-12-02 22:13:35 -05:00
"users/cswimr/password" = {
neededForUsers = true;
owner = user;
path = "/home/${user}/.secrets/password";
};
2024-12-02 20:50:24 -05:00
};
};
}