user: wayland and aerc updates

This commit is contained in:
Rouven Seifert 2023-12-01 15:05:38 +01:00
parent 61f3684c96
commit 82ca5d6146
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 25 additions and 19 deletions

View file

@ -1,27 +1,17 @@
{ pkgs, lib, ... }:
{
# fixes qt themes
# fixes qt and themes
environment.variables = {
"QT_STYLE_OVERRIDE" = lib.mkForce "kvantum";
"QT_QPA_PLATFORMTHEME" = lib.mkForce "Dracula";
"GTK_THEME" = "Dracula";
};
# open ports for kde connect
networking.firewall = rec {
allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
allowedUDPPortRanges = allowedTCPPortRanges;
};
# fix session commands for sway
programs.sway = {
enable = true;
extraSessionCommands = ''
source /etc/profile
test -f $HOME/.profile && source $HOME/.profile
export MOZ_ENABLE_WAYLAND=1
systemctl --user import-environment
'';
wrapperFeatures.gtk = true;
};
# enable xdg portals for sway
xdg.portal = {
enable = true;
@ -31,6 +21,8 @@
};
# wayland keylogger needs setuid
programs.wshowkeys.enable = true;
# home manager needs dconf
programs.dconf.enable = true;
# fixes pam entries for swaylock
security.pam.services.swaylock.text = ''
# Account management.

View file

@ -23,6 +23,15 @@ in
fuzzy-complete = true;
styleset-name = "dracula";
threading-enabled = true;
icon-encrypted = "󰯄";
icon-signed = "";
icon-unknown = "";
icon-attachment = "";
icon-new = "";
icon-old = "";
icon-replied = "";
icon-marked = "";
icon-deleted = "";
};
filters = {
"text/plain" = "colorize";

View file

@ -15,9 +15,6 @@
appimage-run
seafile-client
# printing
cups
# graphics
zathura
gimp
@ -37,9 +34,13 @@
# internet
google-chrome
tor-browser-bundle-bin
filezilla
dbeaver
# totp
numberstation
# messaging
discord
tdesktop
@ -64,6 +65,7 @@
powerline-fonts
croc # send files anywhere
xournalpp
rnote
libreoffice
mosh
@ -84,10 +86,10 @@
python311Packages.pyhanko
];
services.kdeconnect = {
enable = true;
indicator = true;
};
# services.kdeconnect = {
# enable = true;
# indicator = true;
# };
programs.obs-studio.enable = true;
programs.firefox.enable = true;

View file

@ -15,6 +15,8 @@
playerctl
wdisplays
wl-mirror
wtype
wofi
jq
(libinput.override { eventGUISupport = true; })
];

View file

@ -39,6 +39,7 @@
keybindings =
lib.mkOptionDefault {
"Mod1+space" = "exec ${menu}";
"Mod4+a" = "exec ${pkgs.wofi-emoji}/bin/wofi-emoji";
"Print" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy area";
"XF86Launch2" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot save area - | ${lib.getExe pkgs.swappy} -f -";
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 10";