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:
|
machine:
|
||||||
@echo "${HOSTNAME}"
|
@echo "${HOSTNAME}"
|
||||||
|
|
||||||
|
[group("utils")]
|
||||||
|
clean-code:
|
||||||
|
sudo nix run nixpkgs#deadnix -- -eq
|
||||||
|
|
||||||
[group("maintenance")]
|
[group("maintenance")]
|
||||||
switch args="":
|
switch args="":
|
||||||
nh os switch -a -H "${HOSTNAME}" . {{args}}
|
nh os switch -a -H "${HOSTNAME}" . {{args}}
|
||||||
@@ -39,3 +43,4 @@ clean-all: clean optimise
|
|||||||
[group("maintenance")]
|
[group("maintenance")]
|
||||||
generations:
|
generations:
|
||||||
@nh os info
|
@nh os info
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user