diff --git a/nixosVista/homeManager/cliphist/main.nix b/nixosVista/homeManager/cliphist/main.nix index b234752..7aafa32 100644 --- a/nixosVista/homeManager/cliphist/main.nix +++ b/nixosVista/homeManager/cliphist/main.nix @@ -3,49 +3,35 @@ lib, nixosVista, ... -}: - { - +}: { config = lib.mkIf nixosVista.enable { + environment.systemPackages = with pkgs; [ + wl-clipboard + cliphist + rofi + ]; + ########################################################## + # XDG Portal (IMPORTANT for Firefox / Flatpak) + ########################################################## - environment.systemPackages = with pkgs; [ - wl-clipboard - cliphist - rofi - ]; - - ########################################################## - # XDG Portal (IMPORTANT for Firefox / Flatpak) - ########################################################## - - xdg.portal.enable = true; - xdg.portal.extraPortals = [ - pkgs.xdg-desktop-portal-hyprland - ]; - - - - - services.cliphist.enable = true; - - - - + xdg.portal.enable = true; + xdg.portal.extraPortals = [ + pkgs.xdg-desktop-portal-hyprland + ]; + services.cliphist.enable = true; nixosVista.hyprland.fragments.internalClipboard = '' - ############################################################ - # This is configuration for the Clipboard - ############################################################ + ############################################################ + # This is configuration for the Clipboard + ############################################################ - exec-once = wl-paste --type text --watch cliphist store - exec-once = wl-paste --type image --watch cliphist store - bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" - - - ''; + exec-once = wl-paste --type text --watch cliphist store + exec-once = wl-paste --type image --watch cliphist store + bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" + + + ''; }; } - - diff --git a/nixosVista/homeManager/cliphist/option.nix b/nixosVista/homeManager/cliphist/option.nix index 9caa859..86047e3 100644 --- a/nixosVista/homeManager/cliphist/option.nix +++ b/nixosVista/homeManager/cliphist/option.nix @@ -6,9 +6,4 @@ }: let cfg = nixosVista.hyprland; in { - - - - - } diff --git a/nixosVista/homeManager/hyprlock/main.nix b/nixosVista/homeManager/hyprlock/main.nix index 610a7fa..31de0ab 100644 --- a/nixosVista/homeManager/hyprlock/main.nix +++ b/nixosVista/homeManager/hyprlock/main.nix @@ -1,6 +1,9 @@ -{ config, lib, nixosVista, ... }: - -let +{ + config, + lib, + nixosVista, + ... +}: let root = nixosVista; cfg = root.hyprlock; @@ -84,4 +87,4 @@ in { extraConfig = hyprlockConfig + "\n" + cfg.extraConfig; }; }; -} \ No newline at end of file +}