nixos-laptop/nixos/sops.nix

16 lines
271 B
Nix
Raw Normal View History

2024-10-26 18:33:47 +00:00
{
inputs,
pkgs,
flake,
...
}: {
imports = [inputs.sops-nix.nixosModules.sops];
2024-10-26 18:24:13 +00:00
2024-10-26 18:33:47 +00:00
environment.systemPackages = with pkgs; [sops];
2024-10-26 18:24:13 +00:00
sops = {
age.keyFile = "/home/pim/.config/sops/age/keys.txt";
defaultSopsFile = "${flake}/secrets/secrets.yaml";
};
}