Compare commits

..

4 Commits

Author SHA1 Message Date
Nathan McCarty 3b6a66f0bb
Clean 10 rooms per night 2023-06-30 09:06:47 -04:00
Nathan McCarty 9a090586f6
Enable vrr 2023-06-30 09:06:47 -04:00
Nathan McCarty 644dc5a779
Add wlr-randr 2023-06-30 09:06:47 -04:00
Nathan McCarty e9848ee9d0
Add weylus 2023-06-30 09:06:47 -04:00
6 changed files with 12 additions and 4 deletions

View File

@ -38,6 +38,8 @@ in lib.mkMerge [
pkgs.libsForQt5.qt5ct
materia-theme
materia-kde-theme
# Weylus for using the tablet
weylus
];
# Bluetooth applet

View File

@ -19,6 +19,7 @@ in with lib; {
inputs.self.packages.${pkgs.system}.pyprland
# Auto workspace renaming
inputs.self.packages.${pkgs.system}.hyprland-autoname-workspaces
wlr-randr
];
#########################
## Hyprland

View File

@ -9,6 +9,8 @@ in {
gimp-with-plugins
# Krita for drawing
unstable.krita
# Xournal for recording notes
xournalpp
# Pinta for basic image editing
unstable.pinta
# Command line tools for image conversion and handling

View File

@ -73,10 +73,10 @@ in {
useDHCP = false;
interfaces.enp6s0.useDHCP = true;
nat.externalInterface = "enp6s0";
# Open ports for soulseek
# Open ports for soulseek and weylus
firewall = {
allowedTCPPorts = [ 61377 ];
allowedUDPPorts = [ 61377 ];
allowedTCPPorts = [ 61377 1701 9001 ];
allowedUDPPorts = [ 61377 1701 9001 ];
};
};

View File

@ -21,6 +21,9 @@
wayland.windowManager.hyprland.extraConfig = ''
# monitor=DP-1,preferred,auto,1.4,bitdepth,10
# disable 10 bit output for now as this breaks screenshots
misc {
vrr = 1
}
monitor=DP-1,preferred,auto,1.4
input {
sensitivity = -0.8

View File

@ -4,7 +4,7 @@ set -eou pipefail
# Get the list of rooms with no local users
empty_rooms() {
psql -d synapse -c "SELECT room_id FROM room_stats_current WHERE local_users_in_room = 0 \
ORDER BY current_state_events DESC LIMIT 3;" -t --csv
ORDER BY current_state_events DESC LIMIT 10;" -t --csv
}
# Delete a room and purge its history