diff options
| author | seth <[email protected]> | 2024-02-02 18:55:09 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-02 19:22:07 -0500 |
| commit | 46e2db9b9b9fc24093b046b97dea943a7278b084 (patch) | |
| tree | dabb3a80723fd8c678898305544acbd860455630 /dev | |
| parent | 6d2a96d514d3e872df6ec775ac826c5a3ed5e55f (diff) | |
devshell: use flake's nix & *-rebuild packages
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/shell.nix | 8 |
1 files changed, 5 insertions, 3 deletions
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]; }; }; }; |
