try
This commit is contained in:
parent
7bbca7d2ae
commit
76e8ef8428
3 changed files with 9 additions and 36 deletions
|
|
@ -1,35 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.cids;
|
||||
in
|
||||
{
|
||||
|
||||
options.services.cids = {
|
||||
uids = mkOption {
|
||||
readOnly = true;
|
||||
description = lib.mdDoc ''
|
||||
The user IDs used for containers.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
|
||||
gids = mkOption {
|
||||
readOnly = true;
|
||||
description = lib.mdDoc ''
|
||||
The group IDs used for containers.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
uids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
config = {
|
||||
services.cids = {
|
||||
uids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
gids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
};
|
||||
gids = {
|
||||
unbound = 10001;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue