Working on reshuffling
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user