Working on reshuffling

This commit is contained in:
2026-03-19 09:07:54 +00:00
parent f14cedfe33
commit e07ca882c6
3 changed files with 32 additions and 28 deletions
@@ -1,3 +1,4 @@
# waybar.nix
{ lib, ... }:
let
@@ -11,16 +12,16 @@ let
enableWaybar = true;
in
{
# Declare a top-level module option
options.enableWaybar = lib.mkEnableOption "Enable Waybar status bar";
# All actual module configuration wrapped safely
config = lib.mkIf enableWaybar {
waybar = {
enable = true; # symbolic enable flag
user = username;
assetsDir = waybarAssets;
files = waybarConfs; # contains "config" and "style.css" keys
myApps = {
waybar = {
enable = true;
user = username;
assetsDir = waybarAssets;
files = waybarConfs;
};
};
};
}