From 352bf41f40388d694542c359b79a2b7c6ec14219 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 1 Apr 2025 09:18:52 +0200 Subject: [PATCH 1/5] fix: hyprland complained so i fixed some settings feel like my config gets smaller and smaller each time hyprland complains --- modules/home/hyprland/config.nix | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index f830246..0e48012 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -315,31 +315,20 @@ # windowrule windowrule = [ - "float,imv" - "center,imv" - "size 1200 725,imv" - "float,mpv" - "center,mpv" - "tile,Aseprite" - "size 1200 725,mpv" "float,title:^(float_kitty)$" "center,title:^(float_kitty)$" "size 950 600,title:^(float_kitty)$" - "float,audacious" - "workspace 8 silent, audacious" - "tile, neovide" - "idleinhibit focus,mpv" - "float,udiskie" - "float,title:^(Transmission)$" + "idleinhibit focus,title:(mpv)$" + "float,title:^(udiskie)$" "float,title:^(Volume Control)$" "float,title:^(Librewolf — Sharing Indicator)$" "move 0 0,title:^(Librewolf — Sharing Indicator)$" "size 700 450,title:^(Volume Control)$" "move 40 55%,title:^(Volume Control)$" - "workspace 10, thunderbird" - "workspace 8, nheko" - "workspace 8, element-desktop" - "workspace 9, spotify" + "workspace 10, title:^(thunderbird)$" + "workspace 8, title:^(nheko)$" + "workspace 8, title:^(element-desktop)$" + "workspace 9, title:^(spotify)$" ]; # windowrulev2 @@ -350,7 +339,6 @@ "pin, title:^(Picture-in-Picture)$" "opacity 1.0 override 1.0 override, title:^(.*imv.*)$" "opacity 1.0 override 1.0 override, title:^(.*mpv.*)$" - "opacity 1.0 override 1.0 override, class:(Aseprite)" "opacity 1.0 override 1.0 override, class:(Unity)" "idleinhibit focus, class:^(mpv)$" "idleinhibit fullscreen, class:^(librewolf)$" From 6bc4aac8f8441f38d728aa9787dc281b2feb5697 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 14 Apr 2025 09:24:35 +0200 Subject: [PATCH 2/5] feat: enable waydroid --- modules/core/virtualization.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/virtualization.nix b/modules/core/virtualization.nix index b1d5133..b5e7cee 100644 --- a/modules/core/virtualization.nix +++ b/modules/core/virtualization.nix @@ -1,4 +1,7 @@ { # Causes issues for now :p - # virtualisation.vmware.host.enable = true; + virtualisation = { + # vmware.host.enable = true; + waydroid.enable = true; + }; } From fa82d6ef47802d454923145a8ad3e33f3db91e73 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 16 Apr 2025 10:30:55 +0200 Subject: [PATCH 3/5] feat: make hyprland active borders white, since that works better with various wallpapers and isn't as specificly tied to one --- modules/home/hyprland/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 0e48012..bc02cf5 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -122,7 +122,8 @@ gaps_in = 5; gaps_out = 10; border_size = 2; - "col.active_border" = "rgb(cda5ef) rgb(cda5ef) 45deg"; + # "col.active_border" = "rgb(cda5ef) rgb(cda5ef) 45deg"; + "col.active_border" = "rgb(ffffff) rgb(ffffff) 45deg"; "col.inactive_border" = "0x00000000"; no_border_on_floating = false; }; From 026fb1c898641d09b2d4749bb00e98d7a1a69aff Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 16 Apr 2025 10:31:45 +0200 Subject: [PATCH 4/5] fix: disable desktop role for `sakura` --- hosts/sakura/default.nix | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 8b47543..0cd3f3a 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -1,4 +1,10 @@ -{ inputs, pkgs, config, lib, ... }: +{ + inputs, + pkgs, + config, + lib, + ... +}: { imports = [ ./hardware-configuration.nix @@ -9,7 +15,7 @@ # Enable fancy boot animations boot.plymouth.enable = true; - + powerManagement = { enable = true; # powertop.enable = true; @@ -17,12 +23,12 @@ }; environment.systemPackages = with pkgs; [ - fwupd # Update firmware for Framework Laptop 13 + fwupd # Update firmware for Framework Laptop 13 ]; - liv = { + liv = { laptop.enable = true; - desktop.enable = true; + desktop.enable = false; creative.enable = true; amdgpu.enable = true; }; @@ -33,19 +39,23 @@ networking.hostName = "sakura"; boot = { - kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ]; - kernelModules = ["acpi_call"]; + kernelParams = [ + "mem_sleep_default=deep" + "acpi_osi=\"!Windows 2020\"" + ]; + kernelModules = [ "acpi_call" ]; kernelPackages = pkgs.linuxPackages_latest; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; systemd-boot.configurationLimit = 10; }; - extraModulePackages = with config.boot.kernelPackages; + extraModulePackages = + with config.boot.kernelPackages; [ acpi_call cpupower ] - ++ [pkgs.cpupower-gui]; + ++ [ pkgs.cpupower-gui ]; }; } From c8df2127ba678b897ae42e1dc3241b18c48cc53e Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 16 Apr 2025 10:34:45 +0200 Subject: [PATCH 5/5] fix: set timeout to hour instead of minutes so that i don't hit a ratelimit --- modules/home/hyprlock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/hyprlock/default.nix b/modules/home/hyprlock/default.nix index 69a3d44..fcd2a25 100644 --- a/modules/home/hyprlock/default.nix +++ b/modules/home/hyprlock/default.nix @@ -77,7 +77,7 @@ # WEATHER label { monitor = - text = cmd[update:1000] echo "$(bash /home/${username}/.local/bin/weather.sh)" + text = cmd[update:6000000] echo "$(bash /home/${username}/.local/bin/weather.sh)" color = rgba(255, 255, 255, 1) font_size = 10 font_family = JetBrains Mono Nerd Font Mono ExtraBold