From b43cdd98f393dec27ff3e447a4ce31129079e84c Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Tue, 5 Dec 2023 12:29:55 +0100 Subject: [PATCH] try --- hosts/fw.cloonar.com/modules/staticids.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/staticids.nix b/hosts/fw.cloonar.com/modules/staticids.nix index 9d434ec..597e571 100644 --- a/hosts/fw.cloonar.com/modules/staticids.nix +++ b/hosts/fw.cloonar.com/modules/staticids.nix @@ -1,11 +1,12 @@ { config, lib, ... }: +with lib; let cfg = config.cids; in { options.cids = { - uids = lib.mkOption { + uids = mkOption { readOnly = true; description = lib.mdDoc '' The user IDs used for containers. @@ -13,7 +14,7 @@ in type = types.attrsOf types.int; }; - gids = lib.mkOption { + gids = mkOption { readOnly = true; description = lib.mdDoc '' The group IDs used for containers.