Commit graph

12 commits

Author SHA1 Message Date
Daniel Siepmann 4aff325de4
Fix typo 2024-06-12 19:55:46 +02:00
Daniel Siepmann 56fed868b0
Streamline formatting of function arguments 2024-05-29 09:50:32 +02:00
Daniel Siepmann bb4c0753f1
Optimize updates and cleanups
Ensure old entries are deleted to free up disk space and inodes.
Ensure to optimize in the end, in order to free up disk space and
2024-05-27 22:21:07 +02:00
Daniel Siepmann fac58895ab
Revert "Store less generations"
This reverts commit eabfb55de4.

The issues doesn't seem to be the number of generations,
but that nixos itself keeps all channels as gc roots.
This prevents proper cleanup of old channel data.
2024-05-26 22:01:14 +02:00
Daniel Siepmann eabfb55de4
Store less generations
They consume inodes and disk space.
And I in general only need the last two.
2024-05-23 14:47:00 +02:00
Daniel Siepmann 652dbf9e39
Remove nix store optimise
As this only frees up a little amount of memory.
2023-10-18 12:08:12 +02:00
Daniel Siepmann c0d988fc89
Fix none working update script
Nix adds errexit and failpipe.
Using head will end in 141 SIGPIPE, see:

I apply the workaround / fix as suggested on StackExchange.

That way the script runs and can execute the cleanup and diff.
2023-03-07 15:46:46 +01:00
Daniel Siepmann d07fd1b491
Keep less generations
I don't need all the old ones
2023-02-24 11:52:43 +01:00
Daniel Siepmann b6f52946e5
Once more try to include nvd in system update 2022-11-11 14:08:42 +01:00
Daniel Siepmann b3889d2e14
Remove nvd from update script
It doesn't work and fails to execute the rest
2022-06-13 08:16:10 +02:00
Daniel Siepmann 60188ff1da
Remove nix-index
It is slow as hell and I don't think I need the benefits.
2022-05-30 09:53:59 +02:00
Daniel Siepmann bfb5e08460
Move custom packages out of overlays
No need for overlays.
Instead create own packages and call them via callPackage.
That will keep them simpler and allows dependency injection.
I can follow existing patterns from nixpkgs, etc.
2022-05-24 18:50:10 +02:00