Ryan Lahfa
022c7d777a
Merge pull request #196837 from KoviRobi/dnsmasq-attrsets-config
...
nixos/dnsmasq: Use attrs instead of plain text config
2022-12-08 23:47:08 +01:00
ajs124
c7930769a7
krb5Full: turn into alias
2022-12-08 23:08:44 +01:00
Cole Helbling
5af481f67f
nixos/activation/bootspec: fixup improper $out substitution
2022-12-08 13:50:05 -08:00
Cole Helbling
dce9add02b
nixos/activation/bootspec: refactor the generator script
...
We separate the different steps (injecting the toplevel and injecting
the specialisations) so that it's easy to document what each snippet is
actually doing.
2022-12-08 13:50:05 -08:00
Cole Helbling
38e5089814
nixos/activation/bootspec: drop problematic comment, only generate bootspec when bootspec is enabled
2022-12-08 13:50:05 -08:00
Cole Helbling
97f657c742
nixos/activation/bootspec: DocBook -> Markdown, add description for extensions field
2022-12-08 13:50:05 -08:00
Cole Helbling
cc63293b50
nixos/boot/external: fixup typo in generated docs, regenerate docs
2022-12-08 13:50:05 -08:00
Cole Helbling
ad6ea546b4
nixos/boot/external: DocBook -> Markdown
2022-12-08 13:50:05 -08:00
Raito Bezarius
680369e504
nixos/activation/bootspec: add some comments to explain the delicate manipulations
2022-12-08 13:50:05 -08:00
Raito Bezarius
11dfbee0a4
nixos/activation/bootspec: add bootspec chapter in NixOS manual
2022-12-08 13:50:05 -08:00
Raito Bezarius
9832e3e9b9
nixos/activation/bootspec: remove SB extension example in Cue schema
2022-12-08 13:50:04 -08:00
Raito Bezarius
980f50124f
nixos/boot/external: add @raitobezarius as maintainer and allow initrd secrets
2022-12-08 13:50:04 -08:00
Raito Bezarius
348ba1b33c
nixos/activation/bootspec: module-ify
...
This does the following:
* turns bootspec into a NixOS module
* validates bootspecs with Cue
* exposes internal knobs
2022-12-08 13:50:04 -08:00
Raito Bezarius
ee27291b34
nixos/activation/bootspec: fix slurping specialisation bootspecs
2022-12-08 13:50:04 -08:00
K900
e69c37eae9
nixos/activation: don't generate bootspec for containers
2022-12-08 13:50:04 -08:00
Graham Christensen
e9c85d6d0f
nixos/activation/bootspec: embed the document into a bootspec subdir
2022-12-08 13:50:04 -08:00
Graham Christensen
6c0e4e892f
nixos/activation/bootspec: embed the entire contents of specialisation's bootspecs into the parent
...
See: https://github.com/NixOS/rfcs/pull/125#discussion_r871222614
2022-12-08 13:50:04 -08:00
Cole Helbling
83d06ce16d
nixos/boot/external: init
...
This allows supporting external bootloader backends.
2022-12-08 13:50:04 -08:00
Cole Helbling
942dcd238b
nixos/activation/bootspec: init bootspec support (RFC-0125)
2022-12-08 13:50:03 -08:00
Artturin
c01f509e44
treewide: source .attrs in builders
...
if theres a source $stdenv then this is needed
for structuredAttrs
2022-12-08 21:09:02 +02:00
Naïm Favier
6a117e2759
nixos/doc: render option values using lib.generators.toPretty
...
Render un`_type`d defaults and examples as `literalExpression`s using
`lib.generators.toPretty` so that consumers don't have to reinvent Nix
pretty-printing. `renderOptionValue` is kept internal for now intentionally.
Make `toPretty` print floats as valid Nix values (without a tilde).
Get rid of the now-obsolete `substSpecial` function.
Move towards disallowing evaluation of packages in the manual by
raising a warning on `pkgs.foo.{outPath,drvPath}`; later, this should
throw an error. Instead, module authors should use `literalExpression`
and `mkPackageOption`.
2022-12-08 17:52:52 +01:00
Naïm Favier
0ff3b35356
nixos/doc: fix some options
2022-12-08 17:52:52 +01:00
Leorize
0cc87ab901
nixos/systemd/userdbd: add method to enable service
...
This is recommended to enable in conjunction with systemd-homed.
2022-12-08 10:28:41 -06:00
tars0x9752
49a8c118b2
blesh: unstable-2022-07-24 -> unstable-2022-07-29, refactor
2022-12-08 13:39:55 +01:00
Bobby Rong
d44e752fba
Merge pull request #204474 from peperunas/libreddit
...
libreddit: Add package option to module
2022-12-08 19:49:11 +08:00
K900
4353ba58d4
Merge pull request #205119 from K900/supergfxd-fixup
...
supergfxd: fix config format
2022-12-08 14:13:58 +03:00
Martin Weinelt
286fb727a0
Merge pull request #205071 from NixOS/home-assistant
2022-12-08 11:52:59 +01:00
Robert Hensing
80b1fb3d5e
Merge pull request #204841 from qowoz/nix
...
nixVersions.nix_2_12: init at 2.12.0
2022-12-08 11:28:42 +01:00
K900
a445c5f6ea
supergfxd: fix config format
2022-12-08 11:46:10 +03:00
Martin Weinelt
87c22c7909
nixos/home-assistant: update bluetooth components
2022-12-08 02:36:55 +01:00
Daniel Nagy
ad866e565d
treewide: switch to port type for nixos modules
2022-12-08 00:00:00 +01:00
Sandro
3758110622
Merge pull request #204573 from SuperSandro2000/pinentry-nox
2022-12-07 23:00:26 +01:00
Sandro
b3f9ddea98
Merge pull request #204422 from SuperSandro2000/bluezfull
2022-12-07 22:46:15 +01:00
Sandro
082ccd0a6d
Merge pull request #202369 from laalsaas/blesh
2022-12-07 18:47:36 +01:00
rnhmjoj
28034190de
nixos/cupsd: fix /var/run/ warning in cups.socket
...
Silence the systemd warning
ListenStream= references a path below legacy directory /var/run/, updating /var/run/cups/cups.sock → /run/cups/cups.sock; please update the unit file accordingly
by resetting the value coming from the upstream unit.
2022-12-07 15:57:44 +01:00
rnhmjoj
43cb1eb2f9
nixos/cupsd: stop managing /run/cups directory
...
The directory is already set up by cups.socket: managing it with
RuntimeDirectory in cups.service is unnecesary and has the unwanted
effect that upon stopping cupsd systemd will remove it. This includes
the /run/cups/cups.sock socket, so it breaks socket activation.
2022-12-07 15:57:44 +01:00
rnhmjoj
47d9e7d3d7
nixos/hardware/printers: stop cupsd when unneeded
...
If socket activation is enable (the default) and printers are configured
declaratively, the ensure-printers service will always start cupsd and
leave it running, thus defeating the point of socket activation.
With this change ensure-printers continues to start the cups.service at
boot, but automatically stops it afterwards if socket activation is
enabled.
Note: Later restarts of ensure-printers will also restart cupsd, but
it's not an issue since it will be reactivate, if necessary.
2022-12-07 15:57:44 +01:00
Lin Yinfeng
56099e008e
nixos/mastodon: allow appending other env files to serviceConfig.EnvironmentFile
2022-12-07 15:07:17 +01:00
Yureka
56d4e1ec67
nixos/peering-manager: init
2022-12-07 12:54:55 +01:00
Bobby Rong
fa01623a88
Merge pull request #204809 from bobby285271/cinnamon
...
cinnamon.mint-artwork: 1.7.2 -> 1.7.3
2022-12-07 09:45:02 +08:00
Zhaofeng Li
c4ae704be6
nixos/fwupd: Make daemon.conf structured
2022-12-06 18:24:40 -07:00
Bjørn Forsman
bbcfd192a8
nixos/borgbackup: change --prefix to --glob-archives
...
Fixes warning from `borg prune`:
Warning: "--prefix" has been deprecated. Use "--glob-archives 'yourprefix*'" (-a) instead.
2022-12-07 02:24:00 +01:00
Yoan Tournade
4c915f1d1a
Add BORG_RSH entry under an environment option
2022-12-07 01:00:59 +01:00
Sandro
bc3206a9e2
Merge pull request #202909 from symphorien/ipp-usb
2022-12-06 22:36:30 +01:00
Sandro Jäckel
714cd4a0a5
nixos/no-x-libs: add qrencode
2022-12-06 22:01:30 +01:00
laalsaas
cbf4a44852
blesh: init module
2022-12-06 21:40:23 +01:00
Guillaume Girol
8e7a32d061
nixos/ipp-usb: add module
2022-12-06 21:06:54 +01:00
zowoq
1ec69621ef
nixos/nix-fallback-paths: 2.11.1 -> 2.12.0
2022-12-07 04:42:28 +10:00
Luke Granger-Brown
5faeb3ba2d
factorio: fix review comments
2022-12-06 18:29:54 +00:00
Wael Nasreddine
69dff6a36c
Merge pull request #144455 from Twingate/master
2022-12-06 09:33:20 -08:00