mio-ops/shell.nix

26 lines
681 B
Nix
Raw Permalink Normal View History

2023-07-20 03:48:15 +00:00
{
pkgs ? import <nixpkgs> {},
2024-08-23 07:50:00 +00:00
colmena,
deploymentName,
2023-07-20 03:48:15 +00:00
mkShell,
nix,
nix_path,
2024-08-23 10:07:08 +00:00
ragenix,
2023-07-20 03:48:15 +00:00
}:
with pkgs;
mkShell {
buildInputs = [
alejandra # The Uncompromising Nix Code Formatter
2024-08-23 07:50:00 +00:00
colmena # Simple, stateless NixOS deployment tool
2023-07-20 03:48:15 +00:00
nix # Powerful package manager, makes packaging reliable & reproducible
2024-08-22 01:47:13 +00:00
nixops_unstable_minimal # work around for issue #127423
2024-08-23 10:07:08 +00:00
ragenix # CLI management of secrets encrypted via existing SSH keys
2023-07-20 03:48:15 +00:00
tea # Gitea official CLI client
treefmt # one CLI to format the code tree
];
shellHook = ''
export NIX_PATH=${nix_path}
export NIXOPS_DEPLOYMENT=${deploymentName}
'';
2023-07-20 03:48:15 +00:00
}