diff options
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/options.nix b/options.nix index 581ce181..ffce4dd0 100644 --- a/options.nix +++ b/options.nix @@ -98,6 +98,7 @@ in ints str bool + enum package anything submodule @@ -237,6 +238,22 @@ in }; hostAbstract = mkEnableOption "share abstract unix socket scope"; + schedPolicy = mkOption { + type = nullOr (enum [ + "fifo" + "rr" + "batch" + "idle" + "deadline" + "ext" + ]); + default = null; + description = '' + Scheduling policy to set for the container. + The zero value retains the current scheduling policy. + ''; + }; + nix = mkEnableOption "nix daemon access"; mapRealUid = mkEnableOption "mapping to priv-user uid"; device = mkEnableOption "access to all devices"; |
