Files
cnix/modules/home/programs/ags/default.nix
2025-11-06 20:27:28 +01:00

47 lines
818 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.ags;
in
{
imports = [ inputs.ags.homeManagerModules.default ];
options = {
home.programs.ags.enable = mkEnableOption "Enables ags";
};
config = mkIf cfg.enable {
programs.ags = {
enable = true;
# symlink to ~/.config/ags
configDir = ../ags;
# additional packages to add to gjs's runtime
extraPackages = with pkgs; [
inputs.ags.packages.${pkgs.stdenv.hostPlatform.system}.battery
fzf
io
astal3
astal4
apps
auth
battery
bluetooth
greet
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
];
};
};
}