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

23 lines
412 B
Nix
Raw 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";
};
};
}