nix/modules/wm/ags/default.nix

21 lines
343 B
Nix
Raw Permalink Normal View History

2024-11-24 21:35:15 +01:00
{
lib,
config,
username,
inputs,
...
}: {
options = {
ags.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.ags.enable {
home-manager.users.${username} = {
imports = [inputs.ags.homeManagerModules.default];
programs.ags = {
enable = true;
configDir = ./bar;
};
};
};
}