Working on reshuffling

This commit is contained in:
2026-03-19 09:08:58 +00:00
parent e07ca882c6
commit 360fc531a9
2 changed files with 26 additions and 12 deletions
+8 -1
View File
@@ -1124,7 +1124,6 @@ in
** =generated/modules/desktop/waybar.nix=
This file installs and configures waybar
#+BEGIN_SRC nix :tangle generated/modules/desktop/waybar.nix :noweb tangle :mkdirp yes :eval never-html
# waybar.nix
{ lib, ... }:
let
@@ -1138,8 +1137,16 @@ let
enableWaybar = true;
in
{
# Declare a top-level option
options.myApps = lib.mkOption {
type = lib.types.attrsOf lib.types.any;
default = {};
description = "Top-level collection of custom apps";
};
options.enableWaybar = lib.mkEnableOption "Enable Waybar status bar";
# Everything goes under config safely
config = lib.mkIf enableWaybar {
myApps = {
waybar = {
@@ -1,4 +1,3 @@
# waybar.nix
{ lib, ... }:
let
@@ -12,8 +11,16 @@ let
enableWaybar = true;
in
{
# Declare a top-level option
options.myApps = lib.mkOption {
type = lib.types.attrsOf lib.types.any;
default = {};
description = "Top-level collection of custom apps";
};
options.enableWaybar = lib.mkEnableOption "Enable Waybar status bar";
# Everything goes under config safely
config = lib.mkIf enableWaybar {
myApps = {
waybar = {