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, ... }: { pkgs, lib, ... }:
{ {
# fixes qt themes # fixes qt and themes
environment.variables = { environment.variables = {
"QT_STYLE_OVERRIDE" = lib.mkForce "kvantum"; "QT_STYLE_OVERRIDE" = lib.mkForce "kvantum";
"QT_QPA_PLATFORMTHEME" = lib.mkForce "Dracula"; "QT_QPA_PLATFORMTHEME" = lib.mkForce "Dracula";
"GTK_THEME" = "Dracula";
}; };
# open ports for kde connect # open ports for kde connect
networking.firewall = rec { networking.firewall = rec {
allowedTCPPortRanges = [{ from = 1714; to = 1764; }]; allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
allowedUDPPortRanges = allowedTCPPortRanges; 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 # enable xdg portals for sway
xdg.portal = { xdg.portal = {
enable = true; enable = true;
@ -31,6 +21,8 @@
}; };
# wayland keylogger needs setuid # wayland keylogger needs setuid
programs.wshowkeys.enable = true; programs.wshowkeys.enable = true;
# home manager needs dconf
programs.dconf.enable = true;
# fixes pam entries for swaylock # fixes pam entries for swaylock
security.pam.services.swaylock.text = '' security.pam.services.swaylock.text = ''
# Account management. # Account management.

View file

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

View file

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

View file

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

View file

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