X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=flakes%2Fprivate%2Fopenarc%2Fflake.nix;h=b4ab4c8d410b39d0a871355248cf0b0e073b9ccd;hp=5c4b73cfeb83583d744d68973365cace139db684;hb=da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2;hpb=bd5c5d4e23ebd3863a960976767ed4a83dfd07fe diff --git a/flakes/private/openarc/flake.nix b/flakes/private/openarc/flake.nix index 5c4b73c..b4ab4c8 100644 --- a/flakes/private/openarc/flake.nix +++ b/flakes/private/openarc/flake.nix @@ -3,6 +3,10 @@ path = "../../openarc"; type = "path"; }; + inputs.secrets = { + path = "../../secrets"; + type = "path"; + }; inputs.files-watcher = { path = "../../files-watcher"; type = "path"; @@ -14,14 +18,13 @@ inputs.nix-lib.url = "github:NixOS/nixpkgs"; description = "Private configuration for openarc"; - outputs = { self, nix-lib, my-lib, files-watcher, openarc }: + outputs = { self, nix-lib, my-lib, files-watcher, openarc, secrets }: let cfg = name': { config, lib, pkgs, name, ... }: { imports = [ (my-lib.lib.withNarKey files-watcher "nixosModule") (my-lib.lib.withNarKey openarc "nixosModule") - #FIXME: - #(my-lib.lib.withNarKey secrets "nixosModule") + (my-lib.lib.withNarKey secrets "nixosModule") ]; config = lib.mkIf (name == name') { services.openarc = {