1
Files
flake-nixinator/home/modules/ags/default.nix
Christoph Urlacher fdf5278f2c Ags: Switch back to waybar for now
Until I figure out how to theme this thing
2024-10-14 17:13:53 +02:00

31 lines
701 B
Nix

{
config,
lib,
mylib,
pkgs,
...
}:
with lib;
with mylib.modules; let
cfg = config.modules.ags;
in {
options.modules.ags = import ./options.nix {inherit lib mylib;};
config = mkIf cfg.enable {
programs.ags = {
enable = true;
systemd.enable = true;
# configDir = ./config;
};
home.file = {
# NOTE: Keep this symlinked as long as I'm configuring
".config/ags".source = config.lib.file.mkOutOfStoreSymlink "/home/christoph/NixFlake/home/modules/ags/config";
# LSP typechecking support (use ags --init)
# ".config/ags/types".source = config.lib.file.mkOutOfStoreSymlink "${pkgs.ags}/share/com.github.Aylur.ags/types";
};
};
}