Regenerated

This commit is contained in:
2026-03-23 12:46:43 +00:00
parent c2e793b1a8
commit 04dd91aa05
33 changed files with 4 additions and 1429 deletions
+4 -5
View File
@@ -977,21 +977,20 @@ This file installs and configures waybar
{ lib, config, pkgs, ... }:
let
username = config.defaultUser or "henrov";
username = config.defaultUser or "henrov";
assetPath = ../../../assets/system/conf/waybar;
in
{
# Install Waybar globally
environment.systemPackages = [ pkgs.waybar ];
# Contribute to the existing hmUsers map
# Contribute Waybar config files to the existing hmUsers map
_module.args.hmUsers = lib.mkIf true {
${username} = {
# Only define the user once in users/henrov.nix
# Here we just add files
home.file = lib.mkMerge [
# Waybar config files
{
".config/waybar/config" = { source = "${assetPath}/config"; };
".config/waybar/config" = { source = "${assetPath}/config"; };
".config/waybar/style.css" = { source = "${assetPath}/style.css"; };
}
];