try to fix ids
This commit is contained in:
33
hosts/fw.cloonar.com/modules/staticids.nix
Normal file
33
hosts/fw.cloonar.com/modules/staticids.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib) types;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
cids.uids = lib.mkOption {
|
||||
internal = true;
|
||||
description = lib.mdDoc ''
|
||||
The user IDs used for containers.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
|
||||
cids.gids = lib.mkOption {
|
||||
internal = true;
|
||||
description = lib.mdDoc ''
|
||||
The group IDs used for containers.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
};
|
||||
config = {
|
||||
cids = {
|
||||
uids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
gids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user