diff --git a/hosts/saberofxebec/configuration.nix b/hosts/saberofxebec/configuration.nix index eff2e34..5a8a489 100644 --- a/hosts/saberofxebec/configuration.nix +++ b/hosts/saberofxebec/configuration.nix @@ -124,12 +124,30 @@ in { serverConfig = { LegalNotice.Accepted = true; + General.Locale = "en"; Preferences = { WebUI = { Username = "Spr3eZ"; Password_PBKDF2 = "@ByteArray(rSRSjyLjKHX4KeDHgtx8qA==:EdZC27+FdG0aFtqVtEsiuqQAA6NROdBRXVSySD6ktgBY7k9ORrq8Kgo2uIkXvAWssmMIFb+C3RZS2PMWAt/Ihw==)"; }; - General.Locale = "en"; + + AutoRun = { + OnTorrentAdded.Enabled = true; + OnTorrentAdded.Program = ''chmod -R 777 "%F/''; + enabled = true; + program = ''chmod -R 777 "%F/''; + }; + + BitTorrent = { + Session.AddTorrentStopped = false; + Session.AlternativeGlobalDLSpeedLimit = 100000; + Session.AlternativeGlobalUPSpeedLimit = 1000; + Session.BandwidthSchedulerEnabled = true; + Session.ExcludedFileNames = ""; + Session.GlobalMaxInactiveSeedingMinutes = 1440; + Session.GlobalMaxRatio = 2; + Session.GlobalMaxSeedingMinutes = 1440; + }; }; }; }; diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 0cf7e5c..ca741c1 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { imports = [ ./hyprpaper.nix ./hypridle.nix @@ -19,8 +19,9 @@ "SUPERCTRLALTSHIFT, L, exec, brave https://linkedin.com" "$mod, return, exec, alacritty" "$mod,E,exec,nautilus" - "$mod,D,exec,killall -q wofi; wofi --show drun -I" - "$mod, P,exec,wofi-pass -c" + "$mod,D,exec,killall -q rofi; rofi -show drun -p 'Search...' | xargs -I{} xdg-open https://duckduckgo.com/?q={}" + "$mod,Period,exec,killall -q rofi; rofi -show emoji" + "$mod, P,exec,rofi-pass" "$mod SHIFT,R,exec,hyprctl reload" "$mod,space,togglefloating," "ALTSHIFT, L, exec, hyprlock" @@ -33,7 +34,6 @@ "$mod ALTSHIFT, P, exec, hyprshot -z -m window -o ~/Screenshot" "$mod SHIFT, N, exec, dunstctl history-pop" "$mod ALTSHIFT, N, exec, dunstctl close-all" - "$mod,left,movefocus,l" "$mod, H,movefocus,l" "$mod ALT, left, movewindow, l" diff --git a/modules/home-manager/qt.nix b/modules/home-manager/qt.nix new file mode 100644 index 0000000..7e3e18b --- /dev/null +++ b/modules/home-manager/qt.nix @@ -0,0 +1,3 @@ +{pkgs, ...}: { + qt.platformTheme = "gnome"; +} diff --git a/modules/home-manager/rofi.nix b/modules/home-manager/rofi.nix index 5aa7870..0fe0c2d 100644 --- a/modules/home-manager/rofi.nix +++ b/modules/home-manager/rofi.nix @@ -9,15 +9,16 @@ enable = true; package = pkgs.rofi-pass-wayland; extraConfig = '' - URL_field='url' - USERNAME_field='user' - ''; + URL_field='url' + USERNAME_field='user' + ''; }; plugins = [ pkgs.rofi-emoji-wayland ]; extraConfig = { modi = "drun,emoji"; + show-icons = true; }; }; }