mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
better ssh config
This commit is contained in:
parent
bad96e4197
commit
ac25ed84b0
4 changed files with 48 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue