summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/apt-cacher-ng.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/3modules/apt-cacher-ng.nix')
-rw-r--r--krebs/3modules/apt-cacher-ng.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/apt-cacher-ng.nix b/krebs/3modules/apt-cacher-ng.nix
index 371d39b6f..46b405842 100644
--- a/krebs/3modules/apt-cacher-ng.nix
+++ b/krebs/3modules/apt-cacher-ng.nix
@@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
-with lib;
+with config.krebs.lib;
let
acng-config = pkgs.writeTextFile {
name = "acng-configuration";
@@ -151,5 +151,5 @@ let
in
{
options.krebs.apt-cacher-ng = api;
- config = mkIf cfg.enable imp;
+ config = lib.mkIf cfg.enable imp;
}