feat: some minor improvements to teh devshell
This commit is contained in:
parent
1131f51382
commit
6bd5061c04
1 changed files with 2 additions and 3 deletions
|
@ -64,7 +64,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
bash-prompt-suffix = "[Skynet Dev] ";
|
|
||||||
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
||||||
extra-trusted-public-keys = "skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo=";
|
extra-trusted-public-keys = "skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo=";
|
||||||
};
|
};
|
||||||
|
@ -82,7 +81,7 @@
|
||||||
formatter.x86_64-linux = alejandra.defaultPackage."x86_64-linux";
|
formatter.x86_64-linux = alejandra.defaultPackage."x86_64-linux";
|
||||||
|
|
||||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||||
name = "Skynet build env";
|
name = "Skynet";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.buildPackages.git
|
pkgs.buildPackages.git
|
||||||
colmena.defaultPackage."x86_64-linux"
|
colmena.defaultPackage."x86_64-linux"
|
||||||
|
@ -90,7 +89,7 @@
|
||||||
pkgs.buildPackages.nmap
|
pkgs.buildPackages.nmap
|
||||||
];
|
];
|
||||||
buildInputs = [agenix.packages.x86_64-linux.default];
|
buildInputs = [agenix.packages.x86_64-linux.default];
|
||||||
shellHook = ''export EDITOR="${pkgs.nano}/bin/nano --nonewlines"; unset LD_LIBRARY_PATH;'';
|
shellHook = ''export PROMPT_DIRTRIM=3; export PS1="[Skynet] \w:\$ "'';
|
||||||
};
|
};
|
||||||
|
|
||||||
colmena = {
|
colmena = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue