Chore: alejandra

This commit is contained in:
Peritia 2026-03-03 09:14:15 +01:00
parent c53d93c59c
commit 21ccd4afca
3 changed files with 30 additions and 46 deletions

View file

@ -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"
'';
};
}