Commit graph

10 commits

Author SHA1 Message Date
Emily
7877cba5f5 launchd: move userLaunchd to system activation
I’m not *completely* certain that this handles user agents
correctly. There is a deprecated command, `launchctl asuser`, that
executes a command in the Mach bootstrap context of another user`.
<https://scriptingosx.com/2020/08/running-a-command-as-another-user/>
claims that this is required when loading and unloading user agents,
but I haven’t tested this. Our current launchd agent logic is pretty
weird and broken already anyway, so unless this actively regresses
things I’d lean towards keeping it like this until we can move
over entirely to `launchctl bootstrap`/`launchctl kickstart`, which
aren’t deprecated and can address individual users directly. Someone
should definitely test it more extensively than I have, though.
2025-05-16 16:29:17 +01:00
Emily
aba0c60eba lorri: check for nix.enable 2025-02-11 20:10:55 +00:00
Weijia Wang
def1e23be8 treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
Emily
e65131e69c treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.

As of this commit there is no DocBook remaining in the options
documentation.

You can play along at home if you want to reproduce this commit:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
      {} +

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Moisés Ackerman
d037dfaf20 add git, gnutar and gzip to lorri's path 2020-11-05 11:43:50 +01:00
Thibault Gagnaux
1dbe3b71e3 Disable StandardOutPath by default and refactor test to using plutil 2020-08-31 13:07:06 +02:00
Thibault Gagnaux
798fc52d12 Corrects description. 2020-08-30 19:27:41 +02:00
Thibault Gagnaux
91504bd926 Removes zsh and getEnv and adds needed NIX_PATH env. 2020-08-30 18:06:40 +02:00
Thibault Gagnaux
30593350fd Makes it work. 2020-08-29 16:35:43 +02:00
Thibault Gagnaux
11413f94b2 Adds lorri service. 2020-08-29 16:35:43 +02:00