diff --git a/modules/programs/alot.nix b/modules/programs/alot.nix index d0f552f92..10dec7c0c 100644 --- a/modules/programs/alot.nix +++ b/modules/programs/alot.nix @@ -132,6 +132,8 @@ in { ''; }; + package = mkPackageOption pkgs "alot" { }; + hooks = mkOption { type = types.lines; default = ""; @@ -229,7 +231,7 @@ in { }; config = mkIf cfg.enable { - home.packages = [ pkgs.alot ]; + home.packages = [ cfg.package ]; xdg.configFile."alot/config".text = configFile;