1
1
Fork 0
nixos/options/custom/programs/path-of-building.nix

19 lines
408 B
Nix
Raw Permalink Normal View History

{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs.path-of-building;
in {
options.custom.programs.path-of-building.enable = mkOption {default = false;};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
xdg.desktopEntries.path-of-building = {
name = "Path of Building";
exec = "${pkgs.path-of-building}/bin/pobfrontend";
};
};
}