mio-ops/shell.nix

26 lines
681 B
Nix
Raw Permalink Normal View History

2023-07-20 13:48:15 +10:00
{
pkgs ? import <nixpkgs> {},
2024-08-23 17:50:00 +10:00
colmena,
deploymentName,
2023-07-20 13:48:15 +10:00
mkShell,
nix,
nix_path,
2024-08-23 20:07:08 +10:00
ragenix,
2023-07-20 13:48:15 +10:00
}:
with pkgs;
mkShell {
buildInputs = [
alejandra # The Uncompromising Nix Code Formatter
2024-08-23 17:50:00 +10:00
colmena # Simple, stateless NixOS deployment tool
2023-07-20 13:48:15 +10:00
nix # Powerful package manager, makes packaging reliable & reproducible
2024-08-22 11:47:13 +10:00
nixops_unstable_minimal # work around for issue #127423
2024-08-23 20:07:08 +10:00
ragenix # CLI management of secrets encrypted via existing SSH keys
2023-07-20 13:48:15 +10: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 13:48:15 +10:00
}