feat: moves the dev shell into teh flake config.
This commit is contained in:
parent
2c5c3094f8
commit
5c41e05c80
2 changed files with 18 additions and 30 deletions
19
flake.nix
19
flake.nix
|
@ -23,7 +23,24 @@
|
|||
skynet_website_2016.url = "gitlab:compsoc1%2Fskynet%2Fwebsite/2016?host=gitlab.skynet.ie";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... } @inputs: {
|
||||
nixConfig.bash-prompt-suffix = "[Skynet Dev] ";
|
||||
|
||||
outputs = { self, nixpkgs, agenix, ... } @inputs:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;
|
||||
in {
|
||||
# run "nix develop"
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
name = "My-project build environment";
|
||||
nativeBuildInputs = [
|
||||
pkgs.buildPackages.git
|
||||
pkgs.buildPackages.colmena
|
||||
pkgs.buildPackages.nmap
|
||||
];
|
||||
buildInputs = [ agenix.packages.x86_64-linux.default ];
|
||||
shellHook = ''export EDITOR="${pkgs.nano}/bin/nano --nonewlines"'';
|
||||
};
|
||||
|
||||
# https://github.com/zhaofengli/colmena
|
||||
# colmena apply --on agentjones
|
||||
# colmena apply --on @dns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue