Skip to content

Commit

Permalink
feat: add gidMap option to containerConfig
Browse files Browse the repository at this point in the history
GIDMap allows for more advanced group configurations than userNS can do.
Useful for solving permission issues with containers that arent built to
run with rootless operation in mind.
  • Loading branch information
ShockWave-1 committed Dec 9, 2024
1 parent 06fb8a7 commit 560ebcf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ let
description = "--user UID:...";
property = "Group";
};

gidMap = quadletUtils.mkOption {
type = types.nullOr types.str;
default = null;
example = "0:10000:10";
description = "--gidmap";
property = "GIDMap";
};

healthCmd = quadletUtils.mkOption {
type = types.nullOr types.str;
Expand Down

0 comments on commit 560ebcf

Please sign in to comment.