1
0
Fork 0

add sops, add secrets, add cinny, add restic, add invidious container

This commit is contained in:
Philipp 2025-02-28 18:15:42 +01:00
parent e27291baef
commit d0ca050172
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
16 changed files with 348 additions and 297 deletions

View file

@ -12,7 +12,7 @@ let
in
{
options.${namespace}.system.gnupg = with types; {
enable = mkBoolOpt false "Whether or not to manage fonts.";
enable = mkBoolOpt false "Whether or not to enable gnupg.";
};
config = mkIf cfg.enable {

View file

@ -0,0 +1,24 @@
{
config,
inputs,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.system.sops;
in
{
imports = [ inputs.sops-nix.nixosModules.sops ];
options.${namespace}.system.sops = with types; {
enable = mkBoolOpt false "Whether or not to enable sops support.";
};
config = mkIf cfg.enable {
sops.age.keyFile = "/home/philipp/.config/sops/age/keys.txt";
};
}