-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
39 lines (33 loc) · 759 Bytes
/
shell.nix
File metadata and controls
39 lines (33 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
let
nixpkgs = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-24.05-darwin.tar.gz) {
overlays = [];
config = {};
};
in
with nixpkgs;
stdenv.mkDerivation {
name = "Date Only";
buildInputs = [];
nativeBuildInputs = [
#Project requirements
nodejs_22
bun
# SCM
git
gnupg # To sign commits
openssh # To connect to git over ssh
# Developer preferences
eza # Add color to LS
ripgrep # grep but don't check hidden dirs
neovim
just # Task runner
vimPlugins.nvim-treesitter-parsers.just
];
EDITOR="nvim";
# Post Shell Hook
shellHook = ''
alias ls=eza
alias vim=nvim
PS1="\t (\[\e[1;31m\]jobs:\j\e[0m) \e[1;36m\h\e[0m: \e[1;31m\w \e[0m\n\$ "
'';
}