From 3656773163a5e3eb6b182e22a84a00ae102475ff Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Wed, 25 Nov 2020 21:51:27 +0100 Subject: [PATCH] Justfile: add convenient wrapper around nixos-install --- Justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Justfile b/Justfile index f9625f5..2cce8b8 100755 --- a/Justfile +++ b/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