summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/snapraid.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/3modules/snapraid.nix')
-rw-r--r--makefu/3modules/snapraid.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefu/3modules/snapraid.nix b/makefu/3modules/snapraid.nix
index fbdf50219..3d458bbbf 100644
--- a/makefu/3modules/snapraid.nix
+++ b/makefu/3modules/snapraid.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with lib;
+with config.krebs.lib;
let
# returns dirname without / , used as disk name
@@ -28,7 +28,7 @@ let
out = {
options.makefu.snapraid = api;
- config = mkIf cfg.enable imp;
+ config = lib.mkIf cfg.enable imp;
};
api = {