Fix errors so system builds

This commit is contained in:
Julia Lange 2024-04-09 00:00:42 -07:00
parent 73142b1bdf
commit a43df02076
9 changed files with 45 additions and 66 deletions

View file

@ -5,8 +5,9 @@ let rootPath = ./.; in
sops-nix.enable = lib.mkEnableOption "Enables nix-sops for secret management";
};
imports = [ inputs.sops-nix.nixosModules.sops ];
config = lib.mkIf config.sops-nix.enable {
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
defaultSopsFile = rootPath + "secrets.yaml";