nixos-laptop/nixos/sops.nix

11 lines
267 B
Nix
Raw Normal View History

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