mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
user: wayland and aerc updates
This commit is contained in:
parent
61f3684c96
commit
82ca5d6146
5 changed files with 25 additions and 19 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue