diff --git a/home.nix b/home.nix index 9c091ff..b1f869c 100644 --- a/home.nix +++ b/home.nix @@ -10,7 +10,7 @@ in ( final: prev: { cocktail-bar-cli = final.callPackage ./custom/cocktail-bar-cli { }; - update-background = final.callPackage ./custom/update-background { }; + update-background = final.callPackage ./custom/update-background { backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+"; }; lockscreen = final.callPackage ./custom/lockscreen { palette = final.rice.colorPalette; font = final.rice.font.normal; @@ -43,7 +43,6 @@ in # evolution file # firefox - foliate # ebook reader gallery-dl gitkraken gnome.dconf-editor @@ -54,7 +53,6 @@ in gnomeExtensions.dash-to-dock gnomeExtensions.dynamic-panel-transparency gnomeExtensions.just-perfection - gnomeExtensions.night-theme-switcher gnome.file-roller gnome.geary gnome.ghex @@ -68,6 +66,7 @@ in gnome.quadrapassel gnome.seahorse gnome.sushi + gnome.tracker google-chrome gucharmap htop @@ -150,6 +149,7 @@ in # ./modules/joystickwake.nix ./modules/jq.nix ./modules/kakoune.nix + ./modules/keep.nix # ./modules/keepassxc.nix ./modules/keychain.nix # ./modules/kitty.nix @@ -159,7 +159,7 @@ in ./modules/man.nix # ./modules/mangohud.nix ./modules/megasync.nix - # ./modules/nix-index.nix + ./modules/nix-index.nix ./modules/noti.nix ./modules/obs-studio.nix ./modules/onedrive.nix @@ -176,6 +176,7 @@ in ./modules/terminator.nix ./modules/tmux.nix ./modules/update_background.nix + ./modules/whatsapp.nix # ./modules/xidlehook.nix # ./modules/zathura.nix ./modules/zoxide.nix diff --git a/modules/kakoune.nix b/modules/kakoune.nix index 3b4fb0f..fb52b9b 100644 --- a/modules/kakoune.nix +++ b/modules/kakoune.nix @@ -17,6 +17,19 @@ let }; packages = with pkgs; [ + (makeDesktopItem + { + name = "kakoune"; + type = "Application"; + exec = "kak %U"; + icon = "kakoune"; + desktopName = "Kakoune"; + comment = "Kakoune text editor"; + terminal = true; + categories = "Development;Office;"; + mimeType = "text/plain;text/*"; + }) + ] ++ [ # editorconfig-core-c python3.pkgs.editorconfig ] ++ ( @@ -79,7 +92,7 @@ let plugins = with pkgs; [ kakounePlugins.prelude-kak kakounePlugins.kak-lsp - # kakounePlugins.auto-pairs-kak + kakounePlugins.auto-pairs-kak kakounePlugins.powerline-kak kakounePlugins.connect-kak ]; @@ -137,7 +150,7 @@ in ]; hooks = with pkgs; [ { name = "BufCreate"; option = ".*"; commands = "editorconfig-load"; } - { name = "ModuleLoaded"; option = "auto-pairs"; commands = "auto-pairs-enable"; } + # { name = "ModuleLoaded"; option = "auto-pairs"; commands = "auto-pairs-enable"; } { name = "ModuleLoaded"; option = "powerline"; commands = builtins.concatStringsSep "\n" [ "powerline-enable" ]; } # { name = "WinSetOption"; option = "filetype=(rust|python|c|cpp|latex|javascript|go|nix)"; commands = builtins.concatStringsSep "\n" [ "lsp-enable-window" ]; } ] ++ ( @@ -350,22 +363,4 @@ in '' ) ); - - xdg.dataFile."applications/kakoune.desktop".source = - let - desktopItem = pkgs.makeDesktopItem - { - name = "kakoune"; - type = "Application"; - exec = "kak %U"; - icon = "kakoune"; - desktopName = "Kakoune"; - comment = "Kakoune text editor"; - terminal = true; - categories = "Development;Office;"; - mimeType = "text/plain;text/*"; - }; - in - builtins.toPath - "${desktopItem}/share/applications/kakoune.desktop"; }