22 lines
418 B
Nix
22 lines
418 B
Nix
{ inputs, ... }: {
|
|
|
|
flake.nixosModules.sops = { config, lib, ... }: {
|
|
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
];
|
|
|
|
config = {
|
|
|
|
sops = {
|
|
age = {
|
|
keyFile = "/var/lib/sops/age/keys.txt";
|
|
#generateKey = true;
|
|
};
|
|
|
|
defaultSopsFormat = "yaml";
|
|
};
|
|
};
|
|
};
|
|
}
|