diff --git a/hosts/monolith/configuration.nix b/hosts/monolith/configuration.nix index 84f724c..212ba06 100644 --- a/hosts/monolith/configuration.nix +++ b/hosts/monolith/configuration.nix @@ -74,7 +74,7 @@ clientIdSopsKey = config.sops.secrets.spotifyShortcutsClientId.name; clientSecretSopsKey = config.sops.secrets.spotifyShortcutsClientSecret.name; }; - hive.ntsync.enable = false; + hive.ntsync.enable = true; # system packages environment.systemPackages = with pkgs; [ diff --git a/modules/system/ntsync.nix b/modules/system/ntsync.nix index 2d8cf27..ab7f127 100644 --- a/modules/system/ntsync.nix +++ b/modules/system/ntsync.nix @@ -11,7 +11,7 @@ config = lib.mkIf cfg.enable { assertions = [ { - assertion = lib.versionAtLeast config.boot.kernelModules.kernel.version "6.14"; + assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.14"; message = "ntsync requires at least linux 6.14"; } ];