21 lines
343 B
Nix
21 lines
343 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|