mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
tweaked file layout
This commit is contained in:
parent
d061dadb7e
commit
e1a608f3f8
9 changed files with 19 additions and 7 deletions
|
|
@ -8,8 +8,10 @@ let
|
|||
|
||||
clean-store = pkgs.writeScriptBin "clean-store" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
nix-collect-garbage -d
|
||||
nix-store --gc
|
||||
sudo nix-collect-garbage -d
|
||||
sudo nix-store --optimise
|
||||
sudo -u gerg nix-collect-garbage -d
|
||||
|
||||
'';
|
||||
|
||||
apply-users = pkgs.writeScriptBin "apply-users" ''
|
||||
|
|
@ -25,4 +27,4 @@ let
|
|||
'';
|
||||
in {
|
||||
environment.systemPackages = [ update-system clean-store apply-users apply-system ];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue