This commit is contained in:
Schrottkatze 2022-09-02 10:33:55 +02:00
parent 6a35e0a261
commit 134746d36c
4 changed files with 35 additions and 5 deletions

View file

@ -104,7 +104,6 @@ with builtins;
jetbrains.webstorm jetbrains.datagrip jetbrains.idea-ultimate
jetbrains.pycharm-professional nix-prefetch-scripts audacity rustup
easyeffects virt-manager evince direnv nix-direnv python3Full
# python39Packages.pip python39Packages.setuptools python39Packages.ipykernel
fzf openrgb krita gimp inkscape blender virglrenderer ddccontrol-db
glab firebird-emu
discord

View file

@ -82,6 +82,7 @@ in with lib; {
xkeysnail gtk-engine-murrine playerctl xmacro
# custom scripts
window-screenshot desktop-ctl em-record em-play em-play-loop
pa_applet
];
# i3 {{{
xsession = {
@ -101,6 +102,8 @@ in with lib; {
{ command = "sleep 4 && setxkbmap -layout us -variant altgr-intl"; always = true; }
{ command = "feh --bg-scale ${../other/wallpaper.jpg}"; always = true; notification = false; }
{ command = "picom --experimental-backend"; }
{ command = "nm-applet"; }
{ command = "pa-applet"; }
];
# }}}
# Assigns {{{

View file

@ -19,6 +19,17 @@ in with lib; {
vim-nerdtree-syntax-highlight
vim-devicons
vim-nix
vim-pug
coc-rust-analyzer
coc-git
coc-fzf
coc-css
coc-yaml
coc-json
coc-html
coc-emmet
coc-vimlsp
coc-tsserver
{
plugin = gruvbox-nvim;
config = "colorscheme gruvbox";
@ -37,10 +48,20 @@ in with lib; {
];
# }}}
# Coc {{{
#coc = {
#enable = true;
#};
coc = {
enable = true;
settings = { };
pluginConfig = ''
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)
nnoremap <silent> K :call <SID>show_documentation()<CR>
nmap gr <Plug>(coc-rename)
nmap <leader>ac <Plug>(coc-codeaction)
nmap <leader>qf <Plug>(coc-fix-current)
'';
};
# }}}
extraConfig = ''
set fdm=marker

View file

@ -25,6 +25,13 @@
neovim.enable = true;
};
fileSystems = {
"/".options = [ "compress=zstd:3" ];
"/home".options = [ "compress=zstd:3" ];
"/nix".options = [ "compress=zstd:3" "noatime" ];
#"/swap".options = [ "noatime" ];
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;