diff --git a/common.nix b/common.nix index 0e67659..bc3afe3 100644 --- a/common.nix +++ b/common.nix @@ -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 diff --git a/modules/desktop.nix b/modules/desktop.nix index 6538963..380b922 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -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 {{{ diff --git a/modules/neovim.nix b/modules/neovim.nix index b03aef6..b27ceac 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -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 gd (coc-definition) + nmap gy (coc-type-definition) + nmap gi (coc-implementation) + nmap gr (coc-references) + nnoremap K :call show_documentation() + nmap gr (coc-rename) + nmap ac (coc-codeaction) + nmap qf (coc-fix-current) + ''; + }; # }}} extraConfig = '' set fdm=marker diff --git a/potatobook-g/configuration.nix b/potatobook-g/configuration.nix index 7218b8d..0db1b55 100644 --- a/potatobook-g/configuration.nix +++ b/potatobook-g/configuration.nix @@ -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;