2024-09-09 00:22:14 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-09-13 01:50:53 +00:00
|
|
|
with lib; let
|
2024-09-09 00:22:14 +00:00
|
|
|
cfg = config.custom.programs.ags;
|
2024-09-13 01:50:53 +00:00
|
|
|
in {
|
|
|
|
options.custom.programs.ags.enable = mkOption {default = false;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
2024-09-13 01:50:53 +00:00
|
|
|
imports = [inputs.ags.homeManagerModules.default];
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
# https://aylur.github.io/ags-docs
|
|
|
|
# https://github.com/Aylur/ags
|
|
|
|
programs.ags = {
|
|
|
|
enable = true;
|
|
|
|
configDir = ./.;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|