This commit is contained in:
parent
d818f3a2d7
commit
4d470acfad
2 changed files with 5 additions and 3 deletions
5
justfile
5
justfile
|
@ -13,8 +13,7 @@ check:
|
||||||
nix flake check
|
nix flake check
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
nix store optimise --verbose
|
nh clean all
|
||||||
nix store gc --verbose
|
|
||||||
|
|
||||||
collect-garbage:
|
collect-garbage:
|
||||||
nix-collect-garbage -d
|
nix-collect-garbage -d
|
||||||
|
@ -33,4 +32,4 @@ update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
||||||
_nixos command *args:
|
_nixos command *args:
|
||||||
sudo nixos-rebuild {{ command }} --flake . {{ args }}
|
nh os {{ command }} . {{ args }}
|
||||||
|
|
3
modules2/nix/utils.nix
Normal file
3
modules2/nix/utils.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.base.programs.nh.enable = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue