1

Nixos: Remove mkLink + mkEnableOpt and rename mkBoolOpt

This commit is contained in:
2024-10-12 17:31:01 +02:00
parent bd50e4539e
commit 4eddef07be
32 changed files with 156 additions and 172 deletions

View File

@ -5,16 +5,16 @@
}:
with lib;
with mylib.modules; {
enable = mkEnableOpt "Emacs module";
enable = mkEnableOption "Emacs module";
# TODO: Use an enum for this not individual options
nixpkgs = mkBoolOpt false "Use Emacs from the official repositories";
nativeComp = mkBoolOpt false "Use Emacs 28.x branch with native comp support";
pgtkNativeComp = mkBoolOpt false "Use Emacs 29.x branch with native comp and pure gtk support";
nixpkgs = mkBoolOption false "Use Emacs from the official repositories";
nativeComp = mkBoolOption false "Use Emacs 28.x branch with native comp support";
pgtkNativeComp = mkBoolOption false "Use Emacs 29.x branch with native comp and pure gtk support";
doom = {
enable = mkEnableOpt "Doom Emacs framework";
autoSync = mkBoolOpt false "Sync Doom Emacs on nixos-rebuild";
autoUpgrade = mkBoolOpt false "Upgrade Doom Emacs on nixos-rebuild";
enable = mkEnableOption "Doom Emacs framework";
autoSync = mkBoolOption false "Sync Doom Emacs on nixos-rebuild";
autoUpgrade = mkBoolOption false "Upgrade Doom Emacs on nixos-rebuild";
};
}