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
+8 -7
View File
@@ -1,3 +1,4 @@
# wofi.nix
{ lib, ... }:
let
@@ -7,18 +8,18 @@ let
src = "${wofiAssets}/${name}";
});
enableWofi = true; # toggle on/off
enableWofi = true;
in
{
options.enableWofi = lib.mkEnableOption "Enable Wofi terminal launcher";
# Everything is wrapped safely in config
config = lib.mkIf enableWofi {
# Just symbolic references to files, no pkgs or recursive config
programs.wofi = {
enable = true;
assetsDir = wofiAssets;
files = wofiConfs;
myApps = {
wofi = {
enable = true;
assetsDir = wofiAssets;
files = wofiConfs;
};
};
};
}