Skip to content

Commit

Permalink
fix: nix daemon GC workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
anthr76 committed Aug 18, 2024
1 parent cc6f234 commit d82f7b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nix-darwin/personalities/base/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
Day = 7;
};
# Keep the last 3 generations
options = "--delete-older-than +3";
# TODO: Figure out how to GC generations instead of time frame this is broken
# https://github.com/NixOS/nixpkgs/issues/282884
# options = "--delete-older-than +3";
};
settings = {
trusted-users = [ "root" "@admin" ];
Expand All @@ -49,4 +51,4 @@
};
};
services.nix-daemon.enable = true;
}
}

0 comments on commit d82f7b9

Please sign in to comment.