mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-08 04:38:06 +01:00
Added a command to clean code with deadnix
This commit is contained in:
5
Justfile
5
Justfile
@@ -6,6 +6,10 @@ _default:
|
||||
machine:
|
||||
@echo "${HOSTNAME}"
|
||||
|
||||
[group("utils")]
|
||||
clean-code:
|
||||
sudo nix run nixpkgs#deadnix -- -eq
|
||||
|
||||
[group("maintenance")]
|
||||
switch args="":
|
||||
nh os switch -a -H "${HOSTNAME}" . {{args}}
|
||||
@@ -39,3 +43,4 @@ clean-all: clean optimise
|
||||
[group("maintenance")]
|
||||
generations:
|
||||
@nh os info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user