better ssh config

This commit is contained in:
Rouven Seifert 2023-11-20 22:47:07 +01:00
parent bad96e4197
commit ac25ed84b0
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 48 additions and 37 deletions

View file

@ -11,6 +11,17 @@
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;
};
# wayland keylogger needs setuid
programs.wshowkeys.enable = true;
# fixes pam entries for swaylock