Skip to content

Conversation

@isomarcte
Copy link
Contributor

Description

Add a Darwin daemon for lorri

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

@isomarcte isomarcte changed the title Darwin lorrie daemon Darwin lorri daemon Nov 20, 2025
Add a darwin daemon for lorri
@isomarcte
Copy link
Contributor Author

@Gerschtli @nyarly anything I can do to move this along?

@nyarly
Copy link
Contributor

nyarly commented Dec 1, 2025

@Gerschtli @nyarly anything I can do to move this along?

Sorry - it's been holiday weeks around here. Lemme look...

Copy link
Contributor

@nyarly nyarly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test this on Darwin, but it looks good to me.

Comment on lines +50 to +56
warnings =
if cfg.enableNotifications then
[
"services.lorri.enableNotifications is not currently supported for Darwin."
]
else
[ ];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably make it not visible and read-only on darwin, as well.

@khaneliman khaneliman changed the title Darwin lorri daemon lorri: add darwin launchd support Dec 3, 2025
Comment on lines -35 to -37
assertions = [
(lib.hm.assertions.assertPlatform "services.lorri" pkgs lib.platforms.linux)
];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're removing the platform limitation, it would be nice to create a news entry and update the test suite to test on darwin, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants