mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-26 14:08:20 -04:00
144 current 2024-05-25 22:55:42 24.05.20240419.5c24cf2 6.8.6-zen1 *
This commit is contained in:
parent
741cef70aa
commit
b9bab2fa8a
3 changed files with 139 additions and 131 deletions
32
common/shell.nix
Normal file
32
common/shell.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue