Regenerated

This commit is contained in:
2026-03-22 19:12:13 +00:00
parent ce22513676
commit d6a14e934d
33 changed files with 5 additions and 1451 deletions
+5 -3
View File
@@ -1002,14 +1002,16 @@ This file installs and configures waybar
{ lib, config, pkgs, ... }:
let
user = config.defaultUser or "henrov";
assetPath = ../../../assets/system/conf/waybar;
user = config.defaultUser or "henrov";
assetPath = ./assets/system/conf/waybar;
# Only include files that actually exist
files = builtins.filter (f: builtins.pathExists f) [
"${assetPath}/waybar.conf"
"${assetPath}/style.css"
];
# Generate Home Manager file attributes
homeFiles = lib.genAttrs (builtins.map builtins.baseNameOf files) (name: {
source = "${assetPath}/${name}";
target = ".config/waybar/${name}";
@@ -1019,7 +1021,7 @@ in
# Install Waybar system-wide
environment.systemPackages = [ pkgs.waybar ];
# Deploy only existing files via Home Manager
# Deploy config files via Home Manager
home-manager.users.${user}.home.file = homeFiles;
}
#+END_SRC