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.webstorm jetbrains.datagrip jetbrains.idea-ultimate
jetbrains.pycharm-professional nix-prefetch-scripts audacity rustup jetbrains.pycharm-professional nix-prefetch-scripts audacity rustup
easyeffects virt-manager evince direnv nix-direnv python3Full easyeffects virt-manager evince direnv nix-direnv python3Full
# python39Packages.pip python39Packages.setuptools python39Packages.ipykernel
fzf openrgb krita gimp inkscape blender virglrenderer ddccontrol-db fzf openrgb krita gimp inkscape blender virglrenderer ddccontrol-db
glab firebird-emu glab firebird-emu
discord discord

View file

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

View file

@ -19,6 +19,17 @@ in with lib; {
vim-nerdtree-syntax-highlight vim-nerdtree-syntax-highlight
vim-devicons vim-devicons
vim-nix 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; plugin = gruvbox-nvim;
config = "colorscheme gruvbox"; config = "colorscheme gruvbox";
@ -37,10 +48,20 @@ in with lib; {
]; ];
# }}} # }}}
# Coc {{{ # Coc {{{
#coc = { coc = {
#enable = true; 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 = '' extraConfig = ''
set fdm=marker set fdm=marker

View file

@ -25,6 +25,13 @@
neovim.enable = true; 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.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;