diff --git a/home-manager/home.nix b/home-manager/home.nix index e0cdf77..b34c5a9 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -70,6 +70,7 @@ audacious-plugins libsixel + libnotify unzip p7zip @@ -103,7 +104,6 @@ ".bashrc".source = dotfiles/bash/.bashrc; ".config/hyfetch.json".source = dotfiles/hyfetch/hyfetch.json; ".config/niri".source = dotfiles/niri; - ".config/fuzzel/fuzzel.ini".source = dotfiles/fuzzel/fuzzel.ini; ".config/mako".source = dotfiles/mako; # # You can also set the file content immediately. @@ -127,6 +127,34 @@ "--cmd cd" ]; + programs.fuzzel = { + enable = true; + settings = { + main = { + match-mode = "fzf"; + }; + colors = { + background = "eff1f5dd"; + text = "4c4f69ff"; + prompt = "5c5f77ff"; + placeholder = "8c8fa1ff"; + input = "4c4f69ff"; + match = "d20f39ff"; + selection = "acb0beff"; + selection-text = "4c4f69ff"; + selection-match = "d20f39ff"; + counter = "8c8fa1ff"; + border = "d20f39ff"; + }; + border.radius = 0; + }; + }; + + programs.fzf = { + enable = true; + enableZshIntegration = true; + }; + services.mpris-proxy.enable = true; services.udiskie = { diff --git a/hosts/workstation/configuration.nix b/hosts/workstation/configuration.nix index 1fd64c8..4ed093d 100644 --- a/hosts/workstation/configuration.nix +++ b/hosts/workstation/configuration.nix @@ -12,8 +12,9 @@ { imports = [ # Include the results of the hardware scan. - ../../shared/client/niri.nix ./hardware-configuration.nix + ../../shared/client/niri.nix + ../../shared ./software ]; diff --git a/shared/default.nix b/shared/default.nix index cf77c51..3ec08ae 100644 --- a/shared/default.nix +++ b/shared/default.nix @@ -17,9 +17,11 @@ pkgs.foot.terminfo pkgs.kittysay pkgs.tmux + pkgs.fzf ]; environment.variables.EDITOR = "nvim"; + programs.fzf.fuzzyCompletion = true; nix.settings.experimental-features = [ "nix-command" @@ -31,8 +33,6 @@ keyMap = "fr"; }; - services.tailscale.enable = true; - # Set your time zone. time.timeZone = lib.mkDefault "Europe/Paris"; i18n.defaultLocale = "fr_FR.UTF-8";