added hyprland xdg portals

This commit is contained in:
Forestcat 2024-01-21 22:27:16 +01:00
parent c0c1ffd1f7
commit b965bba57d
6 changed files with 262 additions and 221 deletions

View file

@ -45,10 +45,7 @@
xkbVariant = "";
};
# programs.xss-lock.enable = true;
# # programs.xss-lock.lockerCommand= "${pkgs.i3lock}/bin/i3lock";
# programs.xss-lock.lockerCommand= "${pkgs.i3lock-color}/bin/i3lock-color --insidever-color='#00000000' --ringver-color='#00564dE6' --insidewrong-color='#ffffff22' --ringwrong-color='#880000bb' --inside-color='#00000000' --ring-color='#00897bE6' --line-color='#00000000' --separator-color='#00897bE6' --verif-color='#00897bE6' --wrong-color='#00897bE6' --layout-color='#00897bE6' --keyhl-color='#880000bb' --bshl-color='#880000bb' --screen 1 --blur 8 --indicator";
# Configure console keymap
console.keyMap = "de";
@ -100,9 +97,6 @@
environment.systemPackages = with pkgs; [
# System Packages go here
brave
grim # screenshot utility; for selection screenshots do: grim -l 0 -g "$(slurp)" - | wl-clipboard
slurp # select utiliy
wl-clipboard # xclip alternative
davfs2
htop
picom-jonaburg
@ -123,7 +117,7 @@
prismlauncher
alejandra
keepassxc
kitty
# kitty
swww
rofi-wayland
waybar
@ -149,10 +143,10 @@
lxappearance-gtk2
xorg.xev
xfce.xfce4-pulseaudio-plugin
xbindkeys
xbindkeys-config
# xbindkeys
# xbindkeys-config
traceroute
xorg.xinit
# xorg.xinit
nil
alacritty # gpu accelerated terminal
dbus # make dbus-update-activation-environment available in the path
@ -165,7 +159,7 @@
swayidle
grim # screenshot functionality
slurp # screenshot functionality
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout; for selection screenshots do: grim -l 0 -g "$(slurp)" - | wl-clipboard
bemenu # wayland clone of dmenu
mako # notification system developed by swaywm maintainer
wdisplays # tool to configure displays
@ -185,22 +179,6 @@
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# systemd.services."suspend@".unitConfig = {
# Before = [ "sleep.target" ];
# Description = "suspend actions";
# };
# systemd.services."suspend@".serviceConfig = {
# User = "%I";
# Type = "forking";
# environment = "DISPLAY=:0";
# ExecStartPre = "-/usr/bin/pkill -u %u unison ; /usr/local/bin/music.sh stop";
# ExecStart = "/home/forestcat/.config/i3/scripts/lock2.sh";
# ExecStartPost = "/usr/bin/sleep 1";
# };
# systemd.services."suspend@".wantedBy = [ "sleep.target" ];
# systemd.services."suspend@forestcat".enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
@ -226,7 +204,7 @@
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland];
# services.xserver.wayland.enable = true;
services.xserver.desktopManager.xfce.enable = true;
@ -240,8 +218,8 @@
# Hyperland
programs.hyprland = {
enable = true;
xwayland.enable = true;
enable = true;
xwayland.enable = true;
};
environment.sessionVariables = {