Pr/new server #72

Merged
steveej merged 7 commits from pr/new-server into master 2020-11-25 21:14:33 +00:00
Showing only changes of commit 3656773163 - Show all commits

View file

@ -285,6 +285,9 @@ run-with-channels +cmds:
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix) source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
{{cmds}} {{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 between gpg-card capable devices which have a copy of the same key
switch-gpg-card: switch-gpg-card:
#!/usr/bin/env bash #!/usr/bin/env bash