17 lines
297 B
Nix
17 lines
297 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
owner = config.profile.user.name;
|
|
in
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
age
|
|
sops
|
|
];
|
|
|
|
sops = {
|
|
defaultSopsFile = ../../secrets/secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
age.keyFile = "/home/${owner}/.config/sops/age/keys.txt";
|
|
};
|
|
}
|