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
|
||||
|
||||
clean:
|
||||
nix store optimise --verbose
|
||||
nix store gc --verbose
|
||||
nh clean all
|
||||
|
||||
collect-garbage:
|
||||
nix-collect-garbage -d
|
||||
|
@ -33,4 +32,4 @@ update:
|
|||
nix flake update
|
||||
|
||||
_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