feat: devshells, formatting, zoxide
This commit is contained in:
parent
d4ca1cffd2
commit
989f834aa9
9 changed files with 205 additions and 72 deletions
|
|
@ -13,19 +13,22 @@
|
|||
ripgrep
|
||||
just
|
||||
tealdeer
|
||||
zoxide
|
||||
|
||||
# Applications
|
||||
blackbox-terminal
|
||||
zotero
|
||||
zulip
|
||||
discord
|
||||
signal-desktop
|
||||
sgt-puzzles
|
||||
# sgt-puzzles
|
||||
gapless
|
||||
|
||||
# Development
|
||||
opam
|
||||
tinymist
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
];
|
||||
|
||||
shell.enableBashIntegration = true;
|
||||
|
|
@ -48,8 +51,10 @@
|
|||
editor = {
|
||||
lsp.display-messages = true;
|
||||
inline-diagnostics.cursor-line = "info";
|
||||
rulers = [81];
|
||||
rulers = [ 81 ];
|
||||
gutters.layout = [ "diagnostics" ];
|
||||
};
|
||||
keys.insert.j.k = "normal_mode";
|
||||
};
|
||||
};
|
||||
bat.enable = true;
|
||||
|
|
@ -67,23 +72,27 @@
|
|||
bash = {
|
||||
enable = true;
|
||||
bashrcExtra = ''
|
||||
export PS1=" \W \[\e[33m\]λ\[\e[0m\] "
|
||||
test -r '/home/hms/.opam/opam-init/init.sh' && . '/home/hms/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true
|
||||
'';
|
||||
export PS1=" \W \[\e[33m\]λ\[\e[0m\] "
|
||||
'';
|
||||
};
|
||||
gpg.enable = true;
|
||||
zoxide = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
options = [ "--cmd cd" ];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/dsk";
|
||||
documents = "${config.home.homeDirectory}/doc";
|
||||
download = "${config.home.homeDirectory}/dwn";
|
||||
music = "${config.home.homeDirectory}/aud";
|
||||
pictures = "${config.home.homeDirectory}/img";
|
||||
desktop = "${config.home.homeDirectory}/dsk";
|
||||
documents = "${config.home.homeDirectory}/doc";
|
||||
download = "${config.home.homeDirectory}/dwn";
|
||||
music = "${config.home.homeDirectory}/aud";
|
||||
pictures = "${config.home.homeDirectory}/img";
|
||||
publicShare = "${config.home.homeDirectory}/pub";
|
||||
templates = "${config.home.homeDirectory}/tpl";
|
||||
videos = "${config.home.homeDirectory}/vid";
|
||||
templates = "${config.home.homeDirectory}/tpl";
|
||||
videos = "${config.home.homeDirectory}/vid";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue