144 current 2024-05-25 22:55:42 24.05.20240419.5c24cf2 6.8.6-zen1 *

This commit is contained in:
sadanslargehole 2024-05-25 22:55:59 -04:00
parent 741cef70aa
commit b9bab2fa8a
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800
3 changed files with 139 additions and 131 deletions

32
common/shell.nix Normal file
View file

@ -0,0 +1,32 @@
{ config, pkgs }: rec {
dev = {
env = common.env // {
PRISMA_QUERY_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/query-engine";
PRISMA_SCHEMA_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/schema-engine";
PRISMA_QUERY_ENGINE_LIBRARY = "${pkgs.prisma-engines}/lib/libquery_engine.node";
};
path = common.path ++ [
];
aliases = common.aliases // {
lg = "lazygit";
};
};
common = {
env = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
MADWIDTH = "999";
SSH_ASKPASS_REQUIRE = "prefer";
};
path = [
"$HOME/.local/bin"
];
aliases = {
paste = "xsel -ob";
copy = "xsel -ib";
b = "/home/${config.home.username}/nixos/build";
};
};
}