mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-17 07:14:39 -05:00
33 lines
746 B
Nix
33 lines
746 B
Nix
|
{ 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";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|