diff options
| author | seth <[email protected]> | 2023-10-07 10:10:55 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-10-07 10:18:46 -0400 |
| commit | 519191cd9f31d1fe1c205535ddc4efe5f2e63793 (patch) | |
| tree | 441a3b0cbf33a15ac052a1fd6a6894cf169f493b /pkgs/nixgc.nix | |
| parent | 62a26a94a11774b7c14ea10cde0ca2294990fb9b (diff) | |
treewide!: remove flake-parts
while i love flake parts, i want to keep dependencies for this project as small as possible
Diffstat (limited to 'pkgs/nixgc.nix')
| -rw-r--r-- | pkgs/nixgc.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/pkgs/nixgc.nix b/pkgs/nixgc.nix deleted file mode 100644 index d13614a..0000000 --- a/pkgs/nixgc.nix +++ /dev/null @@ -1,22 +0,0 @@ -# this is a shell script that uses the new nix cli to emulate -# nix-collect-garbage -{ - lib, - writeShellApplication, - nix, - fd, -}: -writeShellApplication { - name = "nixgc"; - - runtimeInputs = [nix fd]; - - text = '' - fd . /nix/var/nix/profiles /home/*/.local/state/nix/profiles -d 3 -t symlink -E '*-link' | while read -r profile; do - nix profile wipe-history --profile "$profile" "$@" - done - ''; -} -// { - meta.platforms = lib.platforms.linux; -} |
