Regenerated

This commit is contained in:
2026-03-22 19:05:45 +00:00
parent dc4596d981
commit 47084d2513
33 changed files with 11 additions and 1464 deletions
@@ -1,27 +0,0 @@
{ lib, config, pkgs, ... }:
let
moduleName = "waybar";
username = config.defaultUser or "henrov";
assetPath = ../../../assets/system/conf/${moduleName};
waybarConfig = "${assetPath}/waybar.conf";
waybarStyle = "${assetPath}/style.css";
in
{
# Install Waybar system-wide
environment.systemPackages = [
pkgs.waybar
];
# Deploy config files via Home Manager
home-manager.users.${username}.home.file = lib.genAttrs [
"waybar/config"
"waybar/style.css"
] (file: let
src = if file == "waybar/config" then waybarConfig else waybarStyle;
in {
source = if builtins.pathExists src then src else null;
target = ".config/${file}";
});
}