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 pkgs.libsForQt5.qt5ct
materia-theme materia-theme
materia-kde-theme materia-kde-theme
# Weylus for using the tablet
weylus
]; ];
# Bluetooth applet # Bluetooth applet

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@ set -eou pipefail
# Get the list of rooms with no local users # Get the list of rooms with no local users
empty_rooms() { empty_rooms() {
psql -d synapse -c "SELECT room_id FROM room_stats_current WHERE local_users_in_room = 0 \ 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 # Delete a room and purge its history