<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nix-darwin.git/modules/services/nix-gc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/'/>
<entry>
<title>fix(launchd): improve `StartCalendarInterval`</title>
<updated>2024-06-09T18:20:15+00:00</updated>
<author>
<name>Tyler Miller</name>
<email>tmillr@proton.me</email>
</author>
<published>2023-06-29T07:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=861af0fc94df9454f4e92d6892f75588763164bb'/>
<id>861af0fc94df9454f4e92d6892f75588763164bb</id>
<content type='text'>
Stricter launchd -&gt; StartCalendarInterval type:

- Verify that the integers passed to `Minute`, `Hour`, etc. are within
  range.

- When provided, the value for StartCalendarInterval must be a non-empty
  list of calendar intervals and must not contain duplicates entries
  (throw an error otherwise).

- For increased flexibility and backwards-compatibility, allow an
  attrset to be passed as well (which will be type-checked and is
  functionally equivalent to passing a singleton list). Allowing an
  attrset or list is precisely in-line with what `launchd.plist(5)`
  accepts for StartCalendarInterval.

Migrate `nix.gc.interval` and `nix.optimise.interval` over to use this
new type, and update their defaults to run weekly instead of daily.

Create `modules/launchd/types.nix` file for easier/modular use of
launchd types needed in multiple files.

Documentation:

- Update and improve wording/documentation of launchd's
  `StartCalendarInterval`.

- Improve wording/documentation of `nix.gc.interval` and
  `nix.optimise.interval` ("time interval" can be misleading as it's
  actually a "calendar interval"; e.g. `{ Hour = 3; Minute = 15;}`
  runs daily, not every 3.25 hours).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stricter launchd -&gt; StartCalendarInterval type:

- Verify that the integers passed to `Minute`, `Hour`, etc. are within
  range.

- When provided, the value for StartCalendarInterval must be a non-empty
  list of calendar intervals and must not contain duplicates entries
  (throw an error otherwise).

- For increased flexibility and backwards-compatibility, allow an
  attrset to be passed as well (which will be type-checked and is
  functionally equivalent to passing a singleton list). Allowing an
  attrset or list is precisely in-line with what `launchd.plist(5)`
  accepts for StartCalendarInterval.

Migrate `nix.gc.interval` and `nix.optimise.interval` over to use this
new type, and update their defaults to run weekly instead of daily.

Create `modules/launchd/types.nix` file for easier/modular use of
launchd types needed in multiple files.

Documentation:

- Update and improve wording/documentation of launchd's
  `StartCalendarInterval`.

- Improve wording/documentation of `nix.gc.interval` and
  `nix.optimise.interval` ("time interval" can be misleading as it's
  actually a "calendar interval"; e.g. `{ Hour = 3; Minute = 15;}`
  runs daily, not every 3.25 hours).
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: remove lib.mdDoc</title>
<updated>2024-04-19T02:05:50+00:00</updated>
<author>
<name>Weijia Wang</name>
<email>9713184+wegank@users.noreply.github.com</email>
</author>
<published>2024-04-14T21:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=def1e23be848848400d1d097d4f044e3c401f9dd'/>
<id>def1e23be848848400d1d097d4f044e3c401f9dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling</title>
<updated>2023-07-10T12:30:15+00:00</updated>
<author>
<name>Andrew Marshall</name>
<email>andrew@johnandrewmarshall.com</email>
</author>
<published>2022-10-12T12:38:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=4a7da05c1ef53064d548742eddb1964cf4b3dda7'/>
<id>4a7da05c1ef53064d548742eddb1964cf4b3dda7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: convert all option docs to Markdown</title>
<updated>2023-06-24T09:48:55+00:00</updated>
<author>
<name>Emily</name>
<email>vcs@emily.moe</email>
</author>
<published>2023-06-22T11:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=e65131e69cab1b18fb49b572b983a18720502e1b'/>
<id>e65131e69cab1b18fb49b572b983a18720502e1b</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak `nix.gc` module to more closely match NixOS module</title>
<updated>2022-08-17T00:41:13+00:00</updated>
<author>
<name>Malo Bourgon</name>
<email>mbourgon@gmail.com</email>
</author>
<published>2022-08-14T21:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=8e2c71d1ca85461c6295dba31481eadb07fdbb19'/>
<id>8e2c71d1ca85461c6295dba31481eadb07fdbb19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update `nix.gc` module with same indenting/formatting as NixOS module</title>
<updated>2022-08-17T00:41:13+00:00</updated>
<author>
<name>Malo Bourgon</name>
<email>mbourgon@gmail.com</email>
</author>
<published>2022-08-14T21:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=c027fb5ee5df3c33f9a2ce088b30100cdf3fa028'/>
<id>c027fb5ee5df3c33f9a2ce088b30100cdf3fa028</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nix: fix useDaemon conditions</title>
<updated>2019-07-01T19:24:29+00:00</updated>
<author>
<name>Daiderd Jordan</name>
<email>daiderd@gmail.com</email>
</author>
<published>2019-07-01T19:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=8c2b25e60dfd60dc4ca1a0220e5c00f7af4132c4'/>
<id>8c2b25e60dfd60dc4ca1a0220e5c00f7af4132c4</id>
<content type='text'>
The nix.useDaemon option enables using a multi-user install without
managing the nix installation with nix-darwin.  The following checks
apply to both cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The nix.useDaemon option enables using a multi-user install without
managing the nix installation with nix-darwin.  The following checks
apply to both cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>nix-gc: add user option</title>
<updated>2019-01-02T19:24:00+00:00</updated>
<author>
<name>Daiderd Jordan</name>
<email>daiderd@gmail.com</email>
</author>
<published>2019-01-02T19:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=f5116b0f4daa738e8421860d5f4fb8ca4c402678'/>
<id>f5116b0f4daa738e8421860d5f4fb8ca4c402678</id>
<content type='text'>
This configures the user that runs the garbage collector, particularly
useful for single-user installs.  Otherwise it runs as root resulting in
permission issues afterwards.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This configures the user that runs the garbage collector, particularly
useful for single-user installs.  Otherwise it runs as root resulting in
permission issues afterwards.
</pre>
</div>
</content>
</entry>
<entry>
<title>hydra: use nix.gc.automatic</title>
<updated>2017-07-17T19:42:27+00:00</updated>
<author>
<name>Daiderd Jordan</name>
<email>daiderd@gmail.com</email>
</author>
<published>2017-07-17T19:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/nix-darwin.git/commit/?id=d049c7b97aa00488d2b27697ba21db70cc9f0fe8'/>
<id>d049c7b97aa00488d2b27697ba21db70cc9f0fe8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
