2021-08-30 17:42:45 +00:00
|
|
|
{
|
|
|
|
config
|
2021-11-01 20:33:21 +00:00
|
|
|
, lib
|
|
|
|
, pkgs
|
2021-08-30 17:42:45 +00:00
|
|
|
}:
|
|
|
|
|
2021-11-01 20:33:21 +00:00
|
|
|
let
|
|
|
|
cfg = config.ptw.services.mako;
|
|
|
|
in {
|
|
|
|
options.ptw.services.mako = {
|
|
|
|
enable = lib.mkEnableOption "Enable and configure mako using HomeManager";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [ mako ];
|
|
|
|
|
|
|
|
home-manager.users."${config.ptw.system.singleUser}".programs.mako = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2021-08-30 17:42:45 +00:00
|
|
|
};
|
|
|
|
}
|