From 0df7c346705957a29136bd5802a4a0ef38cc3b52 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 11 Jun 2023 00:26:29 +0200 Subject: modules: import lib via relative path --- krebs/3modules/users.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'krebs/3modules/users.nix') diff --git a/krebs/3modules/users.nix b/krebs/3modules/users.nix index b3d6ba29d..b0ecbb850 100644 --- a/krebs/3modules/users.nix +++ b/krebs/3modules/users.nix @@ -1,7 +1,8 @@ -{ config, lib, pkgs, ... }: -{ +{ config, lib, pkgs, ... }: let + slib = import ../../lib/lib.nix { inherit lib; }; +in { options.krebs.users = lib.mkOption { - type = with pkgs.stockholm.lib.types; attrsOf user; + type = with slib.types; attrsOf user; }; config = lib.mkIf config.krebs.enable { krebs.users = { -- cgit v1.2.3