dotfiles/nixos/secret-lib/emacs.nix
main 8b700b61cc
Make sure everything evaluates and builds even without secrets
Signed-off-by: main <magic_rb@redalder.org>
2022-11-23 20:48:59 +01:00

25 lines
440 B
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.emacs;
in {
options.emacs = {
mbsyncrc = mkOption {
type = types.path;
default = pkgs.writeText "mbsyncrb" "";
};
mu4eContexts = mkOption {
type = types.path;
default = pkgs.writeText "mu4e-contexts.el" "";
};
};
}