1
1
Fork 0
nixos/options/custom/programs/path-of-building.nix
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

22 lines
412 B
Nix

{
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";
};
};
}