Move secrets to individual configs

This commit is contained in:
DashieTM 2024-08-25 14:35:32 +02:00
parent bee8a21990
commit a1b70baa78
5 changed files with 9 additions and 48 deletions

View file

@ -1,4 +1,4 @@
{ lib, pkgs, config, options, ... }: {
{ lib, pkgs, config, options, root, ... }: {
options.mods.sops = {
enable = lib.mkOption {
default = true;
@ -15,7 +15,7 @@
home = "~/.gnupg";
sshKeyPaths = [ ];
};
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFile = root + /secrets/secrets.yaml;
secrets = {
hub = { };
lab = { };