Used agenix to manage secrets, 4 services up, ssh
This commit is contained in:
17
shells/nix_dev.nix
Normal file
17
shells/nix_dev.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs, system, agenix }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.nixos-rebuild
|
||||
pkgs.git
|
||||
pkgs.openssh
|
||||
pkgs.age
|
||||
pkgs.nh
|
||||
agenix.packages.${system}.default
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "Welcome to Gortium Infra DevShell"
|
||||
echo "Use: nixos-rebuild switch --flake .#lazyworkhorse --target-host root@lazyworkhorse"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user