You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
489 B
Nix
28 lines
489 B
Nix
2 months ago
|
{ outputs, ... }@flakeArg:
|
||
|
{ pkgs_unstable, system, ... }@sysArg:
|
||
|
let
|
||
|
pkgs = pkgs_unstable;
|
||
|
in
|
||
|
{
|
||
|
default = pkgs.mkShell {
|
||
|
packages =
|
||
|
(with pkgs; [
|
||
|
curl
|
||
|
mkpasswd
|
||
|
rsync
|
||
|
opentofu
|
||
|
terranix
|
||
|
# tooling for services
|
||
|
wireguard-tools
|
||
|
])
|
||
|
++ [
|
||
|
# flake stuff
|
||
|
outputs.packages.${system}.secrix-wrapper
|
||
|
];
|
||
|
# TODO magic
|
||
|
shellHook = ''
|
||
|
export SECRIX_ID=~/".ssh/id_ed25519"
|
||
|
'';
|
||
|
};
|
||
|
}
|