feat: update system

This commit is contained in:
2026-05-02 19:27:04 +02:00
parent fa70c98160
commit f8bef518d2
4 changed files with 29 additions and 15 deletions
+8 -1
View File
@@ -44,7 +44,10 @@
kitty.enable = true; kitty.enable = true;
swaync.enable = true; swaync.enable = true;
walker.enable = true; walker.enable = true;
waybar.enable = true; waybar = {
enable = true;
home-assistant = true;
};
}; };
desktops.hyprland = { desktops.hyprland = {
enable = true; enable = true;
@@ -178,6 +181,7 @@
fzf fzf
eza eza
# docker # docker
ausweisapp
]; ];
networking = { networking = {
@@ -189,6 +193,9 @@
allowedUDPPorts = [ allowedUDPPorts = [
25565 25565
50765 50765
# AusweisApp
24727
]; ];
/* /*
allowedUDPPortRanges = [ allowedUDPPortRanges = [
+1 -1
View File
@@ -27,7 +27,7 @@ in
opaque = true; opaque = true;
pin = true; pin = true;
fullscreen_state = "2 0"; fullscreen_state = "2 0";
move = "8 8"; move = "240 8";
keep_aspect_ratio = true; keep_aspect_ratio = true;
border_size = "0"; border_size = "0";
animation = "fade"; animation = "fade";
+9 -2
View File
@@ -13,6 +13,7 @@ in
options.shell.components.waybar = { options.shell.components.waybar = {
enable = lib.mkEnableOption (lib.mdDoc "Enable a pre-configured waybar setup"); enable = lib.mkEnableOption (lib.mdDoc "Enable a pre-configured waybar setup");
mobile = lib.mkEnableOption (lib.mdDoc "Mobile PC"); mobile = lib.mkEnableOption (lib.mdDoc "Mobile PC");
home-assistant = lib.mkEnableOption (lib.mdDoc "Home Assistant");
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@@ -32,9 +33,15 @@ in
reload_style_on_change = true; reload_style_on_change = true;
exclusive = true; exclusive = true;
modules-left = [ modules-left =
(
if cfg.home-assistant then
[
"custom/ha" "custom/ha"
] ]
else
[ ]
)
++ ( ++ (
if cfg.mobile then if cfg.mobile then
[ [
@@ -140,7 +147,7 @@ in
"tooltip-format" = "{capacity}%"; "tooltip-format" = "{capacity}%";
}; };
"custom/ha" = { "custom/ha" = lib.mkIf cfg.home-assistant {
exec = pkgs.lib.getExe waybar-ha; exec = pkgs.lib.getExe waybar-ha;
return-type = "json"; return-type = "json";
interval = 30; interval = 30;
+1 -1
View File
@@ -37,7 +37,7 @@ in
libvdpau libvdpau
]; ];
}) })
# rpcs3 rpcs3
bottles bottles
wineWow64Packages.stagingFull wineWow64Packages.stagingFull
winetricks winetricks