diff --git a/flake.nix b/flake.nix index fed4fcf..6713a16 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,7 @@ age just nix-output-monitor + nvd sops ; }; diff --git a/justfile b/justfile index 2856d78..9926681 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,14 @@ local := `hostname -s` -switch: sources-to-store - nom build {{justfile_directory()}}#nixosConfigurations.{{local}}.config.system.build.toplevel --impure +build-system-local: sources-to-store + nom build {{justfile_directory()}}#nixosConfigurations.{{local}}.config.system.build.toplevel --impure --keep-going + +switch: build-system-local sudo nixos-rebuild switch --flake {{justfile_directory()}}#{{local}} --impure +diff: build-system-local + nvd diff /run/current-system {{justfile_directory()}}/result + check: nix run github:DeterminateSystems/flake-checker