Get in the mix.
Take a look at the following sections of flake.nix: reset-local and stop
Identify the similarities and make an issue to refactor into a single paramaterized script called local. It works like this nix run .#local -- reset or nix run .#local -- stop
Stretch Goal
After you make the issue, take it and deliver.
Note: The models I used benefitted from nix eval.
How to make an refactor issue
- Go to the issues board
- Click the
+button in theopencolumn. - Fill in the title with
Refactor reset-local and stop into a single parameterized script called local. - Click the issue’s
Editbutton. - Under description, click the template dropdown and select
Refactor. - Go from there.