diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix index b0af0a6e6ee7..ea09cef12fb6 100644 --- a/nixos/modules/services/networking/ntp/chrony.nix +++ b/nixos/modules/services/networking/ntp/chrony.nix @@ -318,13 +318,6 @@ in Alternatively, disable this behaviour by `services.chrony.enableRTCTrimming = false;` ''; } - { - assertion = !(cfg.enable && config.environment.memoryAllocator.provider == "graphene-hardened"); - message = '' - Chrony doesn't work with the graphene-hardened memory allocator set by - `environment.memoryAllocator.provider`. - ''; - } ]; }; } diff --git a/nixos/tests/chrony.nix b/nixos/tests/chrony.nix index 99722d76bbbe..ddb375a40f75 100644 --- a/nixos/tests/chrony.nix +++ b/nixos/tests/chrony.nix @@ -1,14 +1,11 @@ -{ lib, ... }: { name = "chrony"; - meta.maintainers = with lib.maintainers; [ fpletz ]; - nodes.machine = { services.chrony.enable = true; specialisation.hardened.configuration = { - services.chrony.enableMemoryLocking = true; + environment.memoryAllocator.provider = "graphene-hardened"; }; }; diff --git a/pkgs/by-name/ch/chrony/package.nix b/pkgs/by-name/ch/chrony/package.nix index c772779bf757..4b95ca262320 100644 --- a/pkgs/by-name/ch/chrony/package.nix +++ b/pkgs/by-name/ch/chrony/package.nix @@ -82,7 +82,6 @@ stdenv.mkDerivation rec { illumos ]; maintainers = with lib.maintainers; [ - fpletz thoughtpolice vifino ];