Naïm Favier
4b79d6c374
Merge pull request #204976 from bjornfor/nixos-borgbackup-fix-runtime-warning
2022-12-10 16:51:19 +01:00
Izumi Raine
cb4547a433
nixos/borgbackup: add option "patterns"
2022-12-10 16:49:34 +01:00
Naïm Favier
75e0609a00
nixos/borgbackup: fix newline escaping with optional arguments
...
The newline must always be escaped, otherwise `extraPruneArgs` will be treated as a separate command if `prune.prefix` is unset.
2022-12-10 16:46:34 +01:00
Vladimír Čunát
de033ae75a
Merge branch 'master' into staging-next
2022-12-10 16:19:36 +01:00
Naïm Favier
bd07f70e55
Merge pull request #205358 from farcaller/patch-3
2022-12-10 16:00:28 +01:00
Jonas Heinrich
578dcac1a2
Merge pull request #203779 from Radvendii/firejail
...
nixos/firejail: remove the need for qualifications
2022-12-10 08:58:54 +01:00
Sandro Jäckel
89b5dddf99
nixos/avahi: revert closing firewall port by default
2022-12-10 03:40:39 +01:00
Izorkin
2b6bfed79c
nixos/lxc-container: undo some of the minimal profile stuff
2022-12-09 23:18:37 +03:00
Vladimir Pouzanov
65aed3b37f
Allow to override the https settings
2022-12-09 19:23:50 +00:00
Linus Heckemann
2ee8b6ee74
Merge pull request #188958 from lheckemann/zram-builtin
...
nixos/zram: support built-in zram
2022-12-09 19:57:44 +01:00
github-actions[bot]
48b3a17dea
Merge master into staging-next
2022-12-09 12:01:30 +00:00
Maximilian Bosch
539954efab
Merge pull request #204780 from Ma27/kernel-maintenance-docs
...
nixos/manual: document kernel backporting policy and implications of it
2022-12-09 11:53:53 +01:00
K900
2123b57d5d
nixos/supergfxd: make optional, fix eval (again)
2022-12-09 13:31:00 +03:00
Izorkin
0c6ce0dbab
nixos/installer/netboot-minimal: enable man
2022-12-09 13:03:49 +03:00
Izorkin
309d6a3185
iso/minimal: use mkForce
2022-12-09 13:03:49 +03:00
Izorkin
191d2115ea
iso/minimal: use minimal profile
2022-12-09 13:03:49 +03:00
Izorkin
362d351845
nixos/profiles/minimal: disable udisks service
2022-12-09 13:03:49 +03:00
Izorkin
ee858454b3
nixos/profiles/minimal: disable logrotate service
2022-12-09 13:03:49 +03:00
Izorkin
df22e4124d
nixos/profiles/minimal: disable documentation
2022-12-09 13:03:38 +03:00
Vladimír Čunát
9c497bb8d6
Merge branch 'staging-next' into staging
2022-12-09 10:27:46 +01:00
Sandro
18ab3af0d4
Merge pull request #205251 from InternetUnexplorer/fix-fish-skim-keybindings
2022-12-09 10:02:04 +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
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
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
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
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