1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ config, lib, ... }: with lib; let cfg = config.nixfiles.modules.emacs; in { config = mkIf cfg.enable { # services.emacs = { # enable = true; # package = config.hm.programs.doom-emacs.package; # }; }; }
Consider giving Nix/NixOS a try! <3