Sandro
18ab3af0d4
Merge pull request #205251 from InternetUnexplorer/fix-fish-skim-keybindings
2022-12-09 10:02:04 +01:00
Naïm Favier
4e5ebcc3ed
vim-full: rename from vim_configurable
...
Avoids confusion: `vim-full`'s build-time features are configurable, but both
`vim` and `vim-full` are *customizable* (in the sense of user configuration).
2022-12-09 09:55:55 +01:00
InternetUnexplorer
86ae48a4bf
skim: fix fish shell keybindings
...
This fixes a typo that prevented the fish keybindings from being loaded.
Also, the keybindings are now only loaded if programs.skim.keybindings
is true, which matches the behavior for bash and zsh.
2022-12-08 22:52:09 -08:00
Artturi
8ffe22e286
Merge pull request #203956 from Artturin/addforbiddendependenciesregex
...
nixos/top-level.nix: add forbiddenDependenciesRegex option
2022-12-09 07:54:00 +02:00
Martin Weinelt
a4f2ca1ef3
Merge pull request #205123 from Frostman/prometheus-smartctl-exporter-0.9.1
2022-12-09 01:58:06 +01:00
Martin Weinelt
c7fbae1289
nixos/tests/prometheus-exporters.smartctl: update test script
...
We can't actually get metrics for a virtual disk drive so the exporter
fails to start with 0.9.x.
Instead let's just make sure it said that /dev/vda was unavailable.
2022-12-09 01:40:01 +01:00
Martin Weinelt
fdcc9e8202
nixos/prometheus.exporters.smartctl: Simplify DeviceAllow logic
...
Setting up the DeviceAllow list with explicitly configured devices was a
nice idea, but sometimes a configured device (`/dev/nvme0n1` an NVMe
namespace) has a parent device (`/dev/nvme0`) that smartctl needs to
access to query metrics.
Falling back to the block and character definitions is probably a valid
fallback.
2022-12-09 01:40:01 +01:00
Sergey Lukjanov
a49feed255
nixos/prometheus.exporters.smartctl: use cli args instead of config
...
Config support was dropped and replaced with CLI args
2022-12-08 15:31:33 -08:00
Robert Hensing
470e6fd1cd
Merge pull request #201902 from ck3mp3r/dockertools-architecture-in-config-200725
...
Adding ability to set image architecture when creating OCI images using DockerTools
2022-12-08 23:54:50 +01:00
ajs124
3071eef957
Merge pull request #201707 from helsinki-systems/alias-krb5Full
...
krb5Full: turn into alias
2022-12-08 23:54:02 +01:00
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
fc88e4cf7d
nixos/boot/external: drop duplicated external bootloader documentation
...
The documentation is generated thanks to `meta.doc`, and was out of
date anyways.
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
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
Robert Hensing
cf7b358d69
nixosTests.docker-tools: Fix syntax
...
This may be unnecessary, but I'm not waiting for the tests again.
2022-12-08 22:29:38 +01:00
Christian Kemper
afe2d0bb8b
fix docker inspect image reference
2022-12-08 20:29:10 +01:00
Christian Kemper
f6ae4479ea
dockerTools: allowing architecture to be specified
...
... for buildImage, buildLayeredImage and streamLayeredImage,
adding docs and tests.
2022-12-08 20:29:09 +01: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