From 46e2db9b9b9fc24093b046b97dea943a7278b084 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Feb 2024 18:55:09 -0500 Subject: devshell: use flake's nix & *-rebuild packages --- dev/shell.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dev/shell.nix') diff --git a/dev/shell.nix b/dev/shell.nix index 3b9afcc..7442907 100644 --- a/dev/shell.nix +++ b/dev/shell.nix @@ -11,9 +11,10 @@ shellHook = config.pre-commit.installationScript; packages = with pkgs; [ - actionlint + nix - # nix + # format + lint + actionlint self'.formatter deadnix nil @@ -25,7 +26,8 @@ just config.terranix.package ] - ++ lib.optional stdenv.isLinux inputs'.agenix.packages.agenix; + ++ lib.optional stdenv.isDarwin [inputs'.darwin.packages.darwin-rebuild] + ++ lib.optionals stdenv.isLinux [nixos-rebuild inputs'.agenix.packages.agenix]; }; }; }; -- cgit v1.2.3