aboutsummaryrefslogtreecommitdiffhomepage
path: root/options.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-12 01:20:08 +0900
committerOphestra <cat@gensokyo.uk>2026-03-12 02:15:14 +0900
commit620062cca92b6241c15f96f86a9c6f0f7882ecca (patch)
tree400b5e46d0166d954373483fd948055d6f807cac /options.nix
parent196b200d0f19c41730db439c62db9b39e424f21f (diff)
hst: expose scheduling priority
This is useful when limits are configured to allow it. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/options.nix b/options.nix
index ffce4dd0..f624b6f5 100644
--- a/options.nix
+++ b/options.nix
@@ -253,6 +253,13 @@ in
The zero value retains the current scheduling policy.
'';
};
+ schedPriority = mkOption {
+ type = nullOr (ints.between 1 99);
+ default = null;
+ description = ''
+ Scheduling priority to set for the container.
+ '';
+ };
nix = mkEnableOption "nix daemon access";
mapRealUid = mkEnableOption "mapping to priv-user uid";