mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-03 19:48:24 +08:00
add ', fmt'
This commit is contained in:
parent
d29af345ed
commit
eb36b8bbd6
2 changed files with 8 additions and 1 deletions
6
lib.nix
6
lib.nix
|
|
@ -83,6 +83,12 @@
|
|||
''
|
||||
${lib.getExe pkgs.nixos-rebuild} --use-remote-sudo switch -j auto
|
||||
'';
|
||||
category = "Main";
|
||||
};
|
||||
|
||||
fmt = {
|
||||
description = "Autoformat repo tree";
|
||||
exec = "nix fmt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue