System Gen151 @ 2026-04-09-18:24:51 by jonas@monolith

This commit is contained in:
2026-04-09 18:24:51 +02:00
parent 392392f937
commit 91756e662e

View File

@@ -7,6 +7,11 @@
cfg = config.hive.ntsync;
in {
options.hive.ntsync.enable = lib.mkEnableOption "Enable the nt-sync kernel driver.";
options.hive.ntsync.proton = lib.mkOption {
description = "Make proton use ntsync";
default = true;
type = lib.types.bool;
};
config = lib.mkIf cfg.enable {
assertions = [
@@ -17,6 +22,10 @@
];
boot.kernelModules = ["ntsync"];
environment.variables = lib.optionalAttrs cfg.proton {
PROTON_USE_NTSYNC = 1;
};
};
};
}