Skip to content

Commit c5b3f42

Browse files
committed
nixos/nh: allow independent nh clean service
1 parent c3e30f8 commit c5b3f42

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

nixos/modules/programs/nh.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ in
7676
[ ];
7777

7878
assertions = [
79-
# Not strictly required but probably a good assertion to have
80-
{
81-
assertion = cfg.clean.enable -> cfg.enable;
82-
message = "programs.nh.clean.enable requires programs.nh.enable";
83-
}
84-
8579
{
8680
assertion = (cfg.flake != null) -> !(lib.hasSuffix ".nix" cfg.flake);
8781
message = "nh.flake must be a directory, not a nix file";

0 commit comments

Comments
 (0)