Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nix-darwin module #388

Open
srid opened this issue Nov 28, 2022 · 0 comments
Open

Add nix-darwin module #388

srid opened this issue Nov 28, 2022 · 0 comments
Labels
good first issue Good for newcomers macOS Works only on Nix This feature will work only on Nix.

Comments

@srid
Copy link
Owner

srid commented Nov 28, 2022

Like home-manager module (which requires Linux) but should work on nix-darwin:

  launchd.user.agents.emanote = {
    serviceConfig.ProgramArguments = [
      (lib.getExe inputs.emanote.packages.${system}.default)
      "-L"
      "/Users/${flake.config.people.myself}/Notes"
      "run"
      "-p"
      "7000"
    ];
    serviceConfig.RunAtLoad = true;
  };

Eventually, change the home-manager module to work on both Linux and macOS.

@srid srid added the macOS label Nov 28, 2022
@srid srid added good first issue Good for newcomers Works only on Nix This feature will work only on Nix. labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers macOS Works only on Nix This feature will work only on Nix.
Projects
None yet
Development

No branches or pull requests

1 participant