Skip to content

Commit

Permalink
feat: changed gid/uidMap functions plural and subsequently changed ty…
Browse files Browse the repository at this point in the history
…ping to lists
  • Loading branch information
ShockWave-1 committed Dec 10, 2024
1 parent 3663834 commit 027a79f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ let
property = "Group";
};

gidMap = quadletUtils.mkOption {
type = types.nullOr types.str;
default = null;
example = "0:10000:10";
gidMaps = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "0:10000:10" ];
description = "--gidmap";
property = "GIDMap";
};
Expand Down Expand Up @@ -457,10 +457,10 @@ let
property = "Tmpfs";
};

uidMap = quadletUtils.mkOption {
type = types.nullOr types.str;
default = null;
example = "0:10000:10";
uidMaps = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "0:10000:10" ];
description = "--uidmap";
property = "UIDMap";
};
Expand Down

0 comments on commit 027a79f

Please sign in to comment.