Personal NixOS flake

feat(hyprpanel): fix scoping of bar layouts in config because it changed lol

+15 -19
+10 -12
desktop.nix
··· 99 99 programs = { 100 100 hyprpanel = { 101 101 settings = { 102 - layout = { 103 - "bar.layouts" = { 104 - "0" = { 105 - left = [ "dashboard" "workspaces" "media"]; 106 - middle = [ "windowtitle" ]; 107 - right = [ "systray" "network" "weather" "volume" "clock" "notifications"]; 108 - }; 109 - "1" = { 110 - left = ["workspaces"]; 111 - middle = ["windowtitle"]; 112 - right = ["clock"]; 113 - }; 102 + "bar.layouts" = { 103 + "0" = { 104 + left = [ "dashboard" "workspaces" "media"]; 105 + middle = [ "windowtitle" ]; 106 + right = [ "systray" "network" "weather" "volume" "clock" "notifications"]; 107 + }; 108 + "1" = { 109 + left = ["workspaces"]; 110 + middle = ["windowtitle"]; 111 + right = ["clock"]; 114 112 }; 115 113 }; 116 114 };
+5 -7
laptop.nix
··· 51 51 programs = { 52 52 hyprpanel = { 53 53 settings = { 54 - layout = { 55 - "bar.layouts" = { 56 - "0" = { 57 - left = [ "dashboard" "workspaces" ]; 58 - middle = [ "windowtitle" ]; 59 - right = [ "systray" "network" "weather" "volume" "battery" "clock" "notifications"]; 60 - }; 54 + bar.layouts = { 55 + "0" = { 56 + left = [ "dashboard" "workspaces" ]; 57 + middle = [ "windowtitle" ]; 58 + right = [ "systray" "network" "weather" "volume" "battery" "clock" "notifications"]; 61 59 }; 62 60 }; 63 61 };