blob: dc93c2c1185de09214e86fa02ba5a6c7d528796a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
config,
lib,
pkgs,
...
}:
let
inherit ((import ../lib.nix { inherit lib pkgs; })) mkScriptModule;
base = mkScriptModule {
name = "deep-clean";
path = ./script.sh;
description = "Deep clean script for Nix systems\nRemoves old generations, garbage, and optimizes store\nWARNING: Do NOT run with sudo - run as normal user";
inherit config;
};
in
{
options = base.options;
config = base.moduleConfig;
}
|