From 91756e662e8e040b2dd2260abf5a161afff331d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Thu, 9 Apr 2026 18:24:51 +0200 Subject: [PATCH] System Gen151 @ 2026-04-09-18:24:51 by jonas@monolith --- modules/system/ntsync.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/system/ntsync.nix b/modules/system/ntsync.nix index ab7f127..f57226c 100644 --- a/modules/system/ntsync.nix +++ b/modules/system/ntsync.nix @@ -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; + }; }; }; }