18 lines
346 B
Nix
18 lines
346 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
config,
|
|
...
|
|
}: let
|
|
vars = import ../../vars.nix;
|
|
in {
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [sops];
|
|
|
|
sops.defaultSopsFile = ../../secrets/franz.yaml;
|
|
sops.defaultSopsFormat = "yaml";
|
|
sops.age.keyFile = "/home/${vars.user}/.config/sops/age/keys.txt";
|
|
}
|