1

Home: Update HM module template + apply changes to modules

This commit is contained in:
2024-10-14 15:22:09 +02:00
parent 661bdeaf79
commit 620f970a8d
11 changed files with 68 additions and 94 deletions

View File

@ -3,17 +3,17 @@
lib,
mylib,
...
}:
with lib;
with mylib.modules; let
cfg = config.modules.zathura;
}: let
inherit (config.modules) zathura;
in {
options.modules.zathura = import ./options.nix {inherit lib mylib;};
config = mkIf cfg.enable {
config = lib.mkIf zathura.enable {
programs.zathura = {
enable = true;
# TODO: Set database backend
# TODO: Use color module
options = {
# Catppuccin Latte
default-fg = "#4C4F69";