24 lines
512 B
Nix
24 lines
512 B
Nix
{ inputs, ... }: {
|
|
|
|
flake.homeModules.nathan-sops = { config, lib, pkgs, ... }: {
|
|
|
|
imports = [
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
];
|
|
|
|
config = {
|
|
|
|
sops = {
|
|
age = {
|
|
keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
|
generateKey = true;
|
|
};
|
|
|
|
defaultSopsFormat = "yaml";
|
|
|
|
#secrets."remoteBuildKey" = {};
|
|
};
|
|
};
|
|
};
|
|
}
|