Justfile: add convenient wrapper around nixos-install
This commit is contained in:
parent
111fa91dcd
commit
3656773163
1 changed files with 3 additions and 0 deletions
3
Justfile
3
Justfile
|
@ -285,6 +285,9 @@ run-with-channels +cmds:
|
|||
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
|
||||
{{cmds}}
|
||||
|
||||
install-config config root:
|
||||
sudo just run-with-channels nixos-install -I nixos-config={{invocation_directory()}}/{{config}} --root {{root}} --no-root-passwd
|
||||
|
||||
# Switch between gpg-card capable devices which have a copy of the same key
|
||||
switch-gpg-card:
|
||||
#!/usr/bin/env bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue