Chore: alejandra
This commit is contained in:
parent
c53d93c59c
commit
21ccd4afca
3 changed files with 30 additions and 46 deletions
|
|
@ -3,49 +3,35 @@
|
||||||
lib,
|
lib,
|
||||||
nixosVista,
|
nixosVista,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
|
|
||||||
config = lib.mkIf nixosVista.enable {
|
config = lib.mkIf nixosVista.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
cliphist
|
||||||
|
rofi
|
||||||
|
];
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
# XDG Portal (IMPORTANT for Firefox / Flatpak)
|
||||||
|
##########################################################
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
xdg.portal.enable = true;
|
||||||
wl-clipboard
|
xdg.portal.extraPortals = [
|
||||||
cliphist
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
rofi
|
];
|
||||||
];
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# XDG Portal (IMPORTANT for Firefox / Flatpak)
|
|
||||||
##########################################################
|
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
|
||||||
xdg.portal.extraPortals = [
|
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
services.cliphist.enable = true;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
services.cliphist.enable = true;
|
||||||
|
|
||||||
nixosVista.hyprland.fragments.internalClipboard = ''
|
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 text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,4 @@
|
||||||
}: let
|
}: let
|
||||||
cfg = nixosVista.hyprland;
|
cfg = nixosVista.hyprland;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
{ config, lib, nixosVista, ... }:
|
{
|
||||||
|
config,
|
||||||
let
|
lib,
|
||||||
|
nixosVista,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
root = nixosVista;
|
root = nixosVista;
|
||||||
cfg = root.hyprlock;
|
cfg = root.hyprlock;
|
||||||
|
|
||||||
|
|
@ -84,4 +87,4 @@ in {
|
||||||
extraConfig = hyprlockConfig + "\n" + cfg.extraConfig;
|
extraConfig = hyprlockConfig + "\n" + cfg.extraConfig;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue