felia/hydra/shell.nix

16 lines
333 B
Nix
Raw Normal View History

2022-12-06 08:52:27 +00:00
{ pkgs ? import <nixpkgs> { }
}:
let shellHookAfter = ''
echo "Welcome to Felia\'s Hydra setup"
echo "TODO: Actually write a MOTD here LOL"
''; in
rec {
nixops = pkgs.mkShell {
nativeBuildInputs = [ pkgs.nixops_unstable ];
shellHook = ''
echo "profile: nixops"
''+shellHookAfter;
};
default = nixops;
}