From 433b44b2af1e1af840b1742c83a6b4f49f7a4836 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Sun, 9 Mar 2025 09:16:06 -0400 Subject: dev-shells: always use nixos-rebuild --- flake/dev-shells.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'flake/dev-shells.nix') diff --git a/flake/dev-shells.nix b/flake/dev-shells.nix index 0df2fa3..fd23e36 100644 --- a/flake/dev-shells.nix +++ b/flake/dev-shells.nix @@ -9,7 +9,7 @@ }: let - inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux; + inherit (pkgs.stdenv.hostPlatform) isDarwin; nix = inputs'.lix-module.packages.default; @@ -36,15 +36,14 @@ pkgs.just pkgs.opentofu - ] - ++ lib.optionals isDarwin [ - inputs'.nix-darwin.packages.darwin-rebuild - ] - ++ lib.optionals isLinux [ + # See above comment about Nix nixos-rebuild - inputs'.agenix.packages.agenix + ] + ++ lib.optionals isDarwin [ + # Ditto + inputs'.nix-darwin.packages.darwin-rebuild ]; }; }; -- cgit v1.2.3