2024-06-13 13:27:51 +07:00
|
|
|
{ config, pkgs, ... }:
|
2024-06-12 09:54:11 +07:00
|
|
|
let
|
2024-06-13 13:27:51 +07:00
|
|
|
owner = config.profile.user.name;
|
2024-06-12 09:54:11 +07:00
|
|
|
in
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
age
|
|
|
|
sops
|
|
|
|
];
|
|
|
|
|
|
|
|
sops = {
|
|
|
|
defaultSopsFile = ../../secrets/secrets.yaml;
|
|
|
|
defaultSopsFormat = "yaml";
|
|
|
|
age.keyFile = "/home/${owner}/.config/sops/age/keys.txt";
|
|
|
|
};
|
|
|
|
}
|