aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/mako
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 03:42:25 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 03:42:25 +0530
commit30f8fea050f3242f0e6a2072779e706b5c8ceaf1 (patch)
treea02b517bd112d4e91fab15166a4866bff252c2d3 /modules/desktop/mako
parentad96214c9ab94bce925000a6059e3c68e2ff6a22 (diff)
downloadhome-manager-config-30f8fea050f3242f0e6a2072779e706b5c8ceaf1.tar.gz
home-manager-config-30f8fea050f3242f0e6a2072779e706b5c8ceaf1.zip
refactor(modules): introduce cfg local bindings and submodule option types
Diffstat (limited to 'modules/desktop/mako')
-rw-r--r--modules/desktop/mako/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/desktop/mako/default.nix b/modules/desktop/mako/default.nix
index 2123b57..a918d02 100644
--- a/modules/desktop/mako/default.nix
+++ b/modules/desktop/mako/default.nix
@@ -5,6 +5,9 @@
pkgs,
...
}:
+let
+ cfg = config.desktop.mako;
+in
{
imports = [ ./colors.nix ];
@@ -18,7 +21,7 @@
};
};
- config = lib.mkIf config.desktop.mako.enable {
+ config = lib.mkIf cfg.enable {
services.mako = {
enable = true;
settings = {