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
092e6d39cd
nixos/tests/bootspec: init
...
This will test various scenarios of bootspec generation.
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
Naïm Favier
109f8b4657
nixos/make-options-doc: remove dead code
...
The logic for pretty-printing Nix values isn't needed any more because
`optionAttrSetToDocList` returns already rendered values.
2022-12-08 17:52:52 +01: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
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
Domen Kožar
edc730d7c2
Merge pull request #204996 from sandydoo/improve/render-nix-types-in-commonmark
...
nixos/make-options-doc: pretty-print literals
2022-12-07 15:01:52 +00:00
sandydoo
3564228a10
nixos/make-options-doc: improve CommonMark formatting
...
Render the `type` attribute in a code block to match the rest of the
attributes.
2022-12-07 14:39:26 +00:00
Lin Yinfeng
56099e008e
nixos/mastodon: allow appending other env files to serviceConfig.EnvironmentFile
2022-12-07 15:07:17 +01:00
sandydoo
926afb6f1c
nixos/make-options-doc: pretty-print literals
...
Unlike the XML doc renderer, the AsciiDoc and CommonMark renderers don't
pretty-print certain complex types, like literal expressions, DocBook
literals, and derivations. These types are dumped into the documentation
as JSON.
This commit parses and unwraps these types when loading the
JSON-formatted NixOS options. The AsciiDoc and CommonMark renders have
also been combined into a single script to allow code reuse.
2022-12-07 14:06:56 +00:00
Andrei Pampu
acb964a35c
nixos/tests/bazarr: remove unfree predicate for unrar
2022-12-07 14:59:49 +01:00
Yureka
a0e889791f
nixos/tests/peering-manager: init
2022-12-07 12:54:55 +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
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
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
Wael Nasreddine
69dff6a36c
Merge pull request #144455 from Twingate/master
2022-12-06 09:33:20 -08:00
Bobby Rong
42748ee18f
cinnamon.mint-artwork: 1.7.2 -> 1.7.3
...
This changes the greeter theme to Mint-Y-Aqua.
2022-12-06 23:53:47 +08:00
Robert Hensing
ab823e3a11
cassandra_4: init
2022-12-06 14:09:38 +01:00
Robert Hensing
5775cfa4b8
nixos/cassandra: Prepare for cassandra 4
...
Its scripts disagree a bit with our flexible
logging approach and our default logging config.
Might want to revisit this at some point.
The `mkdir` failures in the log are harmless.
2022-12-06 14:09:38 +01:00
Robert Hensing
90b1c9fa10
nixos/cassandra: Refactor: extract version variables
2022-12-06 14:09:38 +01:00
github-actions[bot]
0ac4c6779e
Merge master into staging-next
2022-12-06 00:02:32 +00:00
Naïm Favier
a6dd75809d
Merge pull request #204178 from ncfavier/iso-filter-nixpkgs
2022-12-05 19:00:03 +01:00
Bjørn Forsman
831fc4f86a
nixos/tests/bazarr: remove unneeded timezone workaround
...
The issue was fixed in bazarr-1.1.3.
2022-12-05 18:51:53 +01:00
Maximilian Bosch
7f684f3160
Merge pull request #204618 from rapenne-s/openFirewall_off_2
...
make openFirewall options to false for NixOS services
2022-12-05 18:13:39 +01:00
Naïm Favier
98a5ae3e5d
Merge pull request #202956 from arcnmx/systemd-networkd-wait-online
2022-12-05 17:53:26 +01:00