Move secrets to individual configs
This commit is contained in:
parent
bee8a21990
commit
a1b70baa78
5 changed files with 9 additions and 48 deletions
|
|
@ -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 = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue