From 2481e03a87b04e954682bf49a40e8b0fee303530 Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 19 Apr 2024 12:31:05 +0200 Subject: [PATCH] Justfile: build with nom --- .justfile | 2 +- flake.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.justfile b/.justfile index 8d0afb9..c03f8d8 100644 --- a/.justfile +++ b/.justfile @@ -30,7 +30,7 @@ update-input input: alias build := build-nixos # Build a NixOS configuration build-nixos host=`hostname`: - nixos-rebuild build --flake .#{{host}} + nom build .#nixosConfigurations.{{host}}.config.system.build.toplevel # nix-diff with some parameters piped to less nix-diff left right: diff --git a/flake.nix b/flake.nix index 0b503c5..a233781 100644 --- a/flake.nix +++ b/flake.nix @@ -104,6 +104,7 @@ packages = with nixpkgs.legacyPackages.x86_64-linux; [ agenix.packages.x86_64-linux.default git + nix-output-monitor nix-diff just alejandra