Unverified Commit 88b39cd6 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

nixos/nh: allow independent nh clean service (#513757)

parents a46204f8 c5b3f42d
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -76,12 +76,6 @@ in
        [ ];

    assertions = [
      # Not strictly required but probably a good assertion to have
      {
        assertion = cfg.clean.enable -> cfg.enable;
        message = "programs.nh.clean.enable requires programs.nh.enable";
      }

      {
        assertion = (cfg.flake != null) -> !(lib.hasSuffix ".nix" cfg.flake);
        message = "nh.flake must be a directory, not a nix file";