Commit graph

24021 commits

Author SHA1 Message Date
pennae ad540ad4a5 nixos/synapse: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
pennae 078707524e nixos/mjolnir: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
pennae 5320b4cff8 nixos/mailman: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
pennae a553f57cb6 nixos/trezord: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 77ee5a1436 nixos/emacs: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 296ffb4f1f nixos/blackfire: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 8422592cf8 nixos/flatpak: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 453b2bed05 nixos/postgresql: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 5b012f2c55 nixos/foundationdb: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
pennae 1ce4fde27b nixos/borgbackup: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae 53935b445f nixos/acme: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae f60e9eac85 nixos/oh-my-zsh: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae eb2e1b04a6 nixos/plotinus: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae 0a70ea5e69 nixos/digitalbitbox: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae 3395f41bd1 nixos/input-method: convert manual chapter to MD 2023-01-10 10:31:54 +01:00
pennae 14cc405a69 nixos/manual: inline callout lists
we only have three uses at the moment, all of them in code blocks where
they could just as well (or maybe better) be comments. markdown can't do
callouts without another pandoc filter, so we'll turn them into comments
instead.

synapse would've benefited from inline links, but referencing an
external numbered list as plain text (instead of clickable links, like
callout lists had) seems even worse than putting urls into comments as
plain text.
2023-01-10 10:31:54 +01:00
pennae 90b4cb8ed2 nixos/manual: replace most examples with anchors
markdown doesn't really have examples as a first-class construct. we'll
keep all examples that are referenced around for now, but all
unreferenced examples turn into invisible anchors. (turning them into
fourth-level headings in their files, as would be necessary for emacs,
removes them from the TOC anyway.)
2023-01-10 10:31:53 +01:00
pennae 25ec23b9aa nixos/manual: strip un-MD-able tags
productname, application, acronym, guilabel, and guibutton were so far
not rendered specially and can go away completely.

replaceable does render differently, but since it was only used twice
and in places where the intent should be clear without the extra markup
it can go as well.
2023-01-10 10:31:53 +01:00
pennae d6fb4b0738 nixos/manual: replace <quote> with quotes
pandoc will turn them back into <quote> elements once we turn smart
quotes on (which we will not do at the start to keep diffs small).
2023-01-10 10:31:53 +01:00
pennae 21c0c631bc nixos/manual: normalize <function> -> <literal>
use <literal> instead since markdown will have them as inline code blocks.
2023-01-10 10:31:53 +01:00
pennae 6aa4c2f9fc nixos/manual: normalize <firstterm> -> <emphasis>
they're emphasized, so we can't just throw them out.
2023-01-10 10:31:53 +01:00
pennae 90c61bc706 nixos/manual: normalize <screen>
as with program listings, the leading/trailing newlines do not affect
rendering but make markdown translation easier.
2023-01-10 10:31:53 +01:00
pennae 22144ba269 nixos/manual: normalize <package> -> <literal>
markdown can only do <literal>, so normalize to that. without
auto-linking to a package index the distinction is not very useful anyway.
2023-01-10 10:31:52 +01:00
pennae d60f02b753 nixos/manual: normalize <code> -> <literal>
markdown can only translate to <literal>, so normalize to that or to
other more appropriate tags.
2023-01-10 10:31:52 +01:00
pennae 0715ecf936 nixos/manual: normalize <programlisting>
makes sure that program listing tags are separated from their contents
by exactly a newline character. this makes the markdown translation
easier to verify (since no new newlines need to be inserted), and
there's no rendering difference anyway.
2023-01-10 10:31:52 +01:00
pennae 6930425922 nixos/manual: normalize <literal><link> -> <link><literal>
MD can only do the latter, so change them all over now to keeps diffs reviewable.

this also includes <literal><xref> -> <xref> where options are referenced since
the reference will implicitly add an inner literal tag.
2023-01-10 10:31:52 +01:00
pennae 80a78f2e1e nixos/manual: remove links from program listings
markdown cannot represent those links. remove them all now instead of in
each chapter conversion to keep the diff for each chapter small and more
understandable.
2023-01-10 10:31:52 +01:00
Anderson Torres 593d558f05
Merge pull request #208196 from s1341/init_kasmweb
kasmweb: init at 1.12.0
2023-01-09 20:28:10 -03:00
Sandro Jäckel b973513d04
nixos/nginx: cleanup, remove old todo 2023-01-09 22:04:06 +01:00
Sandro 42094ae7fc
Merge pull request #209515 from SuperSandro2000/mastodon-dupe 2023-01-09 21:57:51 +01:00
Artturi 27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases 2023-01-09 22:15:50 +02:00
Artturin 2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
github-actions[bot] 33aa224777
Merge master into staging-next 2023-01-09 18:01:24 +00:00
Sandro a5ca4cfdf1
Merge pull request #209758 from mattmelling/xastir-doc-fix 2023-01-09 16:49:18 +01:00
Naïm Favier b8ee437596
Merge pull request #208643 from ncfavier/installer-test-tmp 2023-01-09 13:20:02 +01:00
Ross Gardiner b199b821c2 nixos/grafana: fix spelling 2023-01-09 13:02:36 +01:00
github-actions[bot] e4fc9a910a
Merge master into staging-next 2023-01-09 12:01:24 +00:00
Naïm Favier aa3dc8b8c3
Merge pull request #208694 from ncfavier/resolvconf-nixos-enter 2023-01-09 12:58:31 +01:00
Naïm Favier bff4bb5540
Merge pull request #208762 from ncfavier/link-manpages-options-doc 2023-01-09 11:57:01 +01:00
Naïm Favier 8cd3fc50f9
Merge pull request #209031 from ncfavier/fail2ban-nftables 2023-01-09 11:54:03 +01:00
Vincent Haupert 57a517db35 nixos/github-runner{,s}: add @veehaitch and @newam as maintainers 2023-01-09 09:37:00 +01:00
Vincent Haupert b634dbe576 nixos/github-runners: fix format of service file 2023-01-09 09:36:59 +01:00
Vincent Haupert 66dbf9b199 nixos/github-runners: use mkMerge for serviceConfig
The `serviceOverrides` module option is commonly used to loosen the
systemd unit's hardening. This commit merges the `serviceConfig` with
`mkMerge` instead of using the update operator `//` which discards all
existing values on conflict. To avoid a breaking change which requires
defining each option with a higher priority (e.g., through `mkForce`),
this commit prefixes hardening values with `mkDefault`.

Notable exceptions are list hardening options which use `mkBefore`
instead of `mkDefault`. This allows for easy extension of the existing
settings. Resetting redefinitions are still possible through `mkForce`.
2023-01-09 09:36:04 +01:00
s1341 dbfe3bd2e7 kasmweb: init at 1.12.0 2023-01-09 07:19:54 +02:00
github-actions[bot] fce67420c4
Merge master into staging-next 2023-01-09 00:02:14 +00:00
Aaron Andersen 4769274f53
Merge pull request #205526 from newAM/github-runner-oom
nixos/github-runner: add workDir option
2023-01-08 19:01:44 -05:00
Sandro 2eb836b43e
Merge pull request #208864 from GaetanLepage/fwupd 2023-01-09 00:57:48 +01:00
Matt Melling f8c8f22104
nixos/xastir: fix enable option doc string 2023-01-08 21:17:41 +00:00
ivanbrennan 418fda2293
nixos.programs.neovim: fix runtime
When this module was first introduced, it processed the runtime option
in a way that nested the resulting files and directories under an etc
directory.
https://github.com/NixOS/nixpkgs/pull/98506/files#diff-685092dbb1852fbf30857fe3505d25dc471dc79d0f31c466523b5f5822b68127R11-R21

That implementation relied on nixos/modules/system/etc/make-etc.sh, a
script that was later removed.
eb7120dc79

The implementation was updated to use linkFarm, which changed the
behavior slightly, in that the configured files and directories are no
longer automatically nested under an etc directory.
307b1253a7

But the module still configures neovim's runtimepath in a way that
assumes the old nesting behavior.
04f574a1c0/nixos/modules/programs/neovim.nix (L173)

Restore the original behavior, nesting runtime files and directories
under an etc directory.
2023-01-08 16:15:56 -05:00
github-actions[bot] 9fdb4a743d
Merge master into staging-next 2023-01-08 18:01:08 +00:00
Robert Hensing 22eb959f37 nixos/amazon-option: Tolerate harmless ec2.hvm for compatibility
Throwing an error necessitates changes in NixOps that are not safe yet.
2023-01-08 19:01:02 +01:00
Maciej Pasternacki c3ec444a61 nixos/gitlab-runner: fix style issues flagged by statix 2023-01-08 17:37:43 +01:00
Maciej Pasternacki d5cb89b024 nixos/gitlab-runner: fix problems introduced by last #209716 2023-01-08 17:36:45 +01:00
Martin Weinelt 4d65509504 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-08 16:34:30 +01:00
K900 337d358300 nixos/n8n: disable telemetry by default
Originally intended to just speed up the tests, but probably a good idea in general.
2023-01-08 14:43:53 +03:00
github-actions[bot] b60b0a223e
Merge master into staging-next 2023-01-08 06:01:06 +00:00
R. Ryantm 2d72d4775e cri-o: 1.25.1 -> 1.26.0 2023-01-08 13:30:27 +10:00
zowoq 448dc91db4 nixos/cri-o: source cni and crictl from package 2023-01-08 13:30:27 +10:00
zowoq 5da87a8c7b nixos/containers: source policy from separate skopeo output 2023-01-08 13:30:27 +10:00
github-actions[bot] 4bf238a8fb
Merge master into staging-next 2023-01-08 00:02:31 +00:00
voidzero 29749d22a3 zsh-syntax-highlighting: add regexp to list of highlighters 2023-01-07 19:39:31 +01:00
Felix Bühler a4eb1b11bc
Merge pull request #209254 from Stunkymonkey/freshrss-srv-pgsql
nixos/freshrss: fix permissions and add database test
2023-01-07 19:13:30 +01:00
github-actions[bot] 3b3114f45d
Merge master into staging-next 2023-01-07 18:01:08 +00:00
Sandro Jäckel 3071db258b
nixos/mastodon: remove duplicated shebang 2023-01-07 18:06:57 +01:00
amesgen a429cecd3c
nixos/gitea: don't run gitea-dump on activation 2023-01-07 15:50:36 +01:00
Thiago Kenji Okada c2fdf2d137
Merge pull request #209191 from wegank/mongodb-more-drops
mongodb-4_0: drop
2023-01-07 13:04:34 +00:00
github-actions[bot] 76d33189ba
Merge master into staging-next 2023-01-07 12:01:24 +00:00
Aneesh Agrawal 2fc8504223 nixos/etebase-server: Leverage $PATH
This simplifies the existing module
but also enables consumers to call `etebase-server`
from custom preStart commands (i.e. user creation commands).
2023-01-07 12:20:03 +01:00
Naïm Favier 88a7218236
nixos/fail2ban: support nftables with default configuration 2023-01-07 11:26:40 +01:00
github-actions[bot] 0789ea69b1
Merge master into staging-next 2023-01-07 00:02:25 +00:00
Moritz 'e1mo' Fromm ee41b6b457
dokuwiki: Combine mechanism for plugins and templates
Copy templates and plugins into Dokuwiki instead of linking to address
template compatibility. As noted by @sinavir[^1], (some) templates would
fail due to relative PHP imports.

[^1]: https://github.com/NixOS/nixpkgs/pull/208299#issuecomment-1370413116
2023-01-06 23:52:49 +01:00
Moritz 'e1mo' Fromm 8d4251f491
nixos/dokuwiki: Add e1mo as maintainer 2023-01-06 23:40:09 +01:00
Moritz 'e1mo' Fromm 236d90fde0
nixos/dokuwiki: Overhaul for structured settings
Added the RFC42-style added the posibility to use
`services.dokuwiki.sites.<name>.settings' instead of passing a plain
string to `<name>.extraConfig`. ´<name>.pluginsConfig` now also accepts
structured configuration.
2023-01-06 22:02:37 +01:00
Felix Buehler 0e2787884e nixos/freshrss: fix permissions and add database test 2023-01-06 21:16:50 +01:00
Jonas Heinrich 059e0f8958
Merge pull request #209316 from e1mo/dokuwiki/housekeeping
nixosTests.dokuwiki: Deduplicate node configuration
2023-01-06 21:10:50 +01:00
Sandro Jäckel 5703c16118
nixos/uptime-kuma: add option to enable apprise support 2023-01-06 16:51:18 +01:00
Moritz 'e1mo' Fromm 055100611d
nixos/dokuwiki: Simplify plugin fetching examples
Also replaced apache httpd referenced with ones to caddy
2023-01-06 15:12:47 +01:00
Moritz 'e1mo' Fromm 4649662802
nixos/dokuwiki: Take phpPackage and phpOptions 2023-01-06 01:09:46 +01:00
github-actions[bot] e3480cf1cc
Merge master into staging-next 2023-01-06 00:02:28 +00:00
Artturin decb4a675b nixos/stevenblack: init 2023-01-06 00:35:17 +02:00
Thiago Kenji Okada 492690e923
Merge pull request #209182 from jamesbt365/opentabletdriver-configurations
opentabletdriver: remove hardcoded config path
2023-01-05 20:46:37 +00:00
Thiago Kenji Okada 1deddf959c
Merge pull request #209175 from gador/unifi-fix-monogdb-version
nixos/unifi: fix mongodb to a stable version
2023-01-05 20:39:14 +00:00
Vladimír Čunát c21cf32722
Merge branch 'master' into staging-next 2023-01-05 20:21:03 +01:00
Naïm Favier 8822e9620c
nixos/iay: use mkPackageOptionMD 2023-01-05 20:01:57 +01:00
Naïm Favier 0a8bfb520c
nixos/iay: put mkPackageOptionMD in scope 2023-01-05 19:48:27 +01:00
Martin Weinelt cd890b9b5e
nixos/iay: Fix iay package option (#209188) 2023-01-05 19:45:40 +01:00
Weijia Wang 3a8a14d894 nixos/unifi-video: bump default mongodb version 2023-01-05 19:10:35 +01:00
Robin Gloster 271c20dd40
Merge pull request #209022 from mayflower/fix-mailman-hyperkitty-css
nixos/mailman: fix hyperkitty css/js when virtualRoot is `/`
2023-01-05 17:29:08 +01:00
Martin Weinelt afd962b51c Merge remote-tracking branch 'origin/master' into staging-next 2023-01-05 17:16:26 +01:00
jamesbt365 ad491fec88
opentabletdriver: remove hardcoded config path 2023-01-05 15:15:08 +00:00
Florian Brandes 45d27d43c4 nixos/unifi: fix mongodb to a stable version
Otherwise unifi might break on a next big update
just like https://github.com/NixOS/nixpkgs/pull/207382#issuecomment-1371303817

Also this requires an update of the unifi package. With the LTS
version, newer mongodb versions aren't supported. The current supported
version of unifi 7 is mongodb 3.6 acording to
https://community.ui.com/releases/UniFi-Network-Application-7-0-20/3e4a4099-c063-42f6-8e21-5fb2c99fcea9 which isn't even supplied by nixpkgs anymore.

mongodb-4_2 isn't officially supported, but works.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-05 15:16:02 +01:00
Lassulus c366c3dbc8
Merge pull request #209064 from Lassulus/os-release-extra 2023-01-05 14:14:09 +01:00
github-actions[bot] 4acd5a978b
Merge staging-next into staging 2023-01-05 12:01:57 +00:00
Anderson Torres 6124309e74
Merge pull request #207797 from omasanori/iay-module
nixos/iay: add module; iay: add myself as a maintainer
2023-01-05 08:22:16 -03:00
Matthieu Coudron c61f554c1a modules.gitlab-runner: accept space in names
when you register a runner with spaces in its name (possible if you use 'description' option) then the runners never get unregistered because our bash scripts assume no space in names.

This solves the issue

Retreiving the fullname of the runner via `gitlab-runner list` got surprisingly hard between lazy-capture issues and `gitlab-runner list` displaying invisible (CSI) characters that break the regex etc.
Which is why I fell back on the pseudo-json format.

This PR adds the hash in the name, which allows to keep both the
stateless aspect of the module while allowing for a freeform name.

I found using bash associative arrays easier to use/debug than the current
approach.
2023-01-05 11:43:32 +01:00
github-actions[bot] 0c8280b1c4
Merge staging-next into staging 2023-01-05 06:01:39 +00:00
Aneesh Agrawal 1e94e9146f radicale: Drop self (aneeshusa) from maintainership
I have switched to using etebase/etesync.
2023-01-05 00:14:38 -05:00
pennae 3339892da9 nixos/plasma5: use mkPackageOptionMD 2023-01-05 13:46:54 +10:00
pennae 9da5f12ecf modules: add mkPackageOptionMD
another transitional option factory, like mkAliasOptionModuleMD.
2023-01-05 02:33:13 +01:00
pennae 4c1cfbdb84 modules: add mkAliasOptionModuleMD
mkAliasOptionModule should not default to mdDoc descriptions because
that can break out-of-tree users of documentation infrastructure. add an
explicitly-MD variant for now, to be removed some time after the MD
transition is complete.
2023-01-05 02:33:13 +01:00
github-actions[bot] 0c98bf3e85
Merge staging-next into staging 2023-01-05 00:02:56 +00:00
Bjørn Forsman 295c552dc9 nixos/apcupsd: wrap CLI with "-f ${configFile}"
This ensures that the CLI is in sync with the service configuration.

(I tried building apcupsd with --sysconfdir=/etc instead, but it wants
to install stuff there at build time, so I backed out.)

Fixes https://github.com/NixOS/nixpkgs/issues/208204.
2023-01-04 21:45:58 +01:00
lassulus 5464e0a018 nixos/misc: add VARIANT_ID in /etc/os-release for identifying nixos installer
This is a feature useful for nixos-remote and other installation tools
that try to identify if the remote machine has been successfully booted
into an installer.
2023-01-04 19:11:41 +01:00
Maximilian Bosch 05f6dd4dc6
nixos/mailman: fix hyperkitty css/js when virtualRoot is /
The `manage-script-name` / `mount` approach doesn't work if you don't
serve your instance behind e.g. `/lists`.
2023-01-04 11:59:27 +01:00
Gaetan Lepage b069f6230d nixos/fwupd: enable udisks2 2023-01-04 08:02:42 +01:00
github-actions[bot] 47507cf77a
Merge staging-next into staging 2023-01-04 06:01:44 +00:00
Gabriella Gonzalez 6d89aa8f1d
darwin.builder: auto-login as the builder user (#208772)
… as suggested by @NiklasGollenstede in:

https://github.com/NixOS/nixpkgs/pull/206951#issuecomment-1369020601

This simplifies the user experience for logging into and
debugging the machine and also simplifies the instructions for
shutting down the machine gracefully.
2023-01-03 21:12:56 -08:00
zowoq 469aec905b nixos/podman, podman: switch to netavark network stack 2023-01-04 14:25:14 +10:00
Alex Martens 307730fb72 nixos/github-runner: add workDir option 2023-01-03 19:54:25 -08:00
Bobby Rong 474405c522
Merge pull request #208897 from bobby285271/cinnamon-xapp-icons
Cinnamon: add missing xapp icons
2023-01-04 10:05:17 +08:00
Sandro 53373b761a
nixos/profiles/base: add tcpdump 2023-01-04 01:24:47 +01:00
github-actions[bot] e859576396
Merge staging-next into staging 2023-01-04 00:03:20 +00:00
Michael Lohmann 3b5456608a nixos-version: print error for missing revision to stderr 2023-01-03 20:40:35 +01:00
Michael Lohmann c09f6c3db0 nixos-version: output configurationRevision
`nixos-version --configuration-revision` will show the
configurationRevision.
2023-01-03 20:40:35 +01:00
Kevin Cox c930fd9517
Merge pull request #207874 from kevincox/nginx-unique
nixos/nginx: Deduplicate modules.
2023-01-03 13:07:43 -05:00
github-actions[bot] e076f677a1
Merge staging-next into staging 2023-01-03 18:01:45 +00:00
K900 f7f8f2be7b
Merge pull request #207895 from r-ryantm/auto-update/pipewire
pipewire: 0.3.63 -> 0.3.63
2023-01-03 20:41:40 +03:00
Michele Guerini Rocco 4b87e3b61d
Merge pull request #207887 from MrcJkb/fix-gpg-module-for-nushell
nixos/gnupg: (fix) use runtimeShell to call updatestartuptty
2023-01-03 18:20:05 +01:00
Charles Johnson 2628f0003c
waydroid: 1.3.3 -> 1.3.4 (#206833)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-01-03 17:43:06 +01:00
Bobby Rong f38b252955
nixos/cinnamon: add missing xapp icons
Mostly all mint app looks for xapp-* icons, while some icon themes do provide them,
mint-y-* does not. We are just going the laziest way here to install xapp globally
to get those icons.
2023-01-04 00:34:09 +08:00
Sandro 2bd27f69f7
Merge pull request #201951 from laalsaas/noto-fonts 2023-01-03 16:54:47 +01:00
Marc Jakobi 9cc1e97f61 nixos/gnupg: (fix) use runtimeShell to call updatestartuptty 2023-01-03 16:37:05 +01:00
Linus Heckemann 4e4ada9d92
Merge pull request #207847 from lheckemann/plasma-mobile-pipewire
plasma5: allow pipewire-pulse instead of pulseaudio for mobile
2023-01-03 14:51:43 +01:00
Izorkin b943fb24b7 chrony: update sandboxing options 2023-01-03 07:04:55 -06:00
Naïm Favier 4fb500d629
nixos/doc: fix some manpage references 2023-01-03 14:03:35 +01:00
Yaya 5e96eb14ce
nixos/snipe-it: Fix a bug in the setup script (#206869)
The `snipe-it-setup.service` script exits with an error if the
invalid_barcode.gif already exists at the destination, due to
`set -euo pipefail` at the beginning of the script. This commit
refactors the affected lines so that it no longer causes an error.

Resolves #205791
2023-01-03 13:49:07 +01:00
Franz Pletz c8c6436ac2
Merge pull request #208861 from reedrw/i3-422 2023-01-03 13:12:24 +01:00
github-actions[bot] e2839320bb
Merge staging-next into staging 2023-01-03 12:01:44 +00:00
Reed e3539cdd2c nixos/i3: update doc for gaps merge 2023-01-03 06:28:51 -05:00
Kim Lindberger ba1e6e5f8c
Merge pull request #184206 from e1mo/e1mo/parsedmarc-new-config
nixos/parsedmarc: follow upstream configuration
2023-01-03 12:26:06 +01:00
github-actions[bot] 03e830eb69
Merge staging-next into staging 2023-01-03 00:02:53 +00:00
Luke Granger-Brown 5a236902c3
Merge pull request #208723 from gador/paperless-ngx-add-poppler
paperless-ngx: fix build
2023-01-02 22:36:05 +00:00
Maximilian Bosch 865723cd53
Revert "nixos/stage-1: fix modprobe in initial ramdisk on systems w/glibc-2.34"
This reverts commit da905d4cf9.

See the commit linked above for further information on why this was
needed. Apparently this is not needed anymore because the need for
LD_LIBRARY_PATH (which is needed for `modprobe(8)` to find
`libpthread.so.0`) doesn't exist anymore.

Since d33e52b253 the library path of each
binary in extra-utils is patched correctly.
2023-01-02 21:35:35 +01:00
Jörg Thalheim 34f4701127
Merge pull request #208784 from SuperSandro2000/nix-ld
nixos/nix-ld: fix example texts
2023-01-02 18:56:06 +00:00
github-actions[bot] d8b859a780
Merge staging-next into staging 2023-01-02 18:01:43 +00:00
Sandro Jäckel 0b9f76a8d3
nixos/nix-ld: fix example texts 2023-01-02 18:46:13 +01:00
Winter 15013b3054
darwin.builder: prefer shutting down over halting VM (#208450)
This is preferable because it prevents things like disk corruption (requiring the user to delete the disk image when starting up) that I consistently ran into.
2023-01-02 07:36:41 -08:00
Florian Brandes b406baead8 nixos/paperless-ngx: reorder "after" keyword
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 16:25:34 +01:00
Florian Brandes 5b6881f4a0 nixos/paperless-ngx: fix startup order
The nixOS test failed sporadically with a timeout.
This is due to a race condition in the startup  of
the scheduler vs the task-queue.

The scheduler runs the migration scripts in "pre-start" and
celery isn't available, yet. The celery worker (paperless-task-queue)
was already started by systemd but was unable to connect
(as the migration scripts from "pre-start" still ran).

This fix adds the necessary "after" condition in the systemd
worker unit and adds a test to "paperless"

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 15:21:45 +01:00
github-actions[bot] ccef3ab7d8
Merge staging-next into staging 2023-01-02 12:02:01 +00:00
Maximilian Bosch 0cd88dbc60
nixos/gitea: adapt configs for 1.18
Co-authored-by: Izorkin <izorkin@elven.pw>
2023-01-02 11:19:04 +01:00
Enno Richter ed060ff92b prometheus-exporters: update rspamd exporter for prometheus-json-exporter >=0.5.0 2023-01-02 06:36:22 +01:00
Jan Tojnar 5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Naïm Favier 37e42d01a0
nixos/etc: skip resolv.conf in nixos-enter chroot
nixos-enter sets up /etc/resolv.conf as a bind mount from the host
system, so trying to activate a system that sets
`environment.etc."resolv.conf"` (e.g. with systemd-resolved enabled)
results in an unhelpful warning.

Skip linking /etc/resolv.conf if we're in a nixos-enter environment, as
determined by the IN_NIXOS_ENTER environment variable.

Make the warnings more helpful, indicating which file we failed to link.

Unlink temporary files in case of failure.
2023-01-02 01:41:29 +01:00
Sandro 6dcdffe4d6
Merge pull request #207134 from SuperSandro2000/nox-pipewire-mpv 2023-01-01 22:14:02 +01:00
Jörg Thalheim 655e072533 nixos/bcachefs: fix boot with systemd enabled initrd 2023-01-01 19:58:16 +01:00
Naïm Favier a5b7b6e47a
nixos/nixos-enter: hide systemd-tmpfiles errors
Due to missing `/etc/machine-id` in the new root, systemd-tmpfiles
outputs a bunch of scary warnings like "Failed to replace specifiers in
'/run/log/journal/%m'". We only care about /tmp, so hide them.

`-E` is an alias for `--exclude-prefix=/dev --exclude-prefix=/proc
--exclude-prefix=/run --exclude-prefix=/sys`.
2023-01-01 17:18:20 +01:00
Naïm Favier c72f5995e4
Merge pull request #205933 from ncfavier/nix-auto-allocate-uids 2023-01-01 14:18:25 +01:00
Naïm Favier 1596c87bdb
Merge pull request #195945 from ncfavier/wg-quick-nftables 2023-01-01 14:13:01 +01:00
Robert Hensing 70dab2843f
Merge pull request #208168 from hercules-ci/lib-types-string-coercions
`types.path`: Do not allow lists of strings
2023-01-01 13:46:55 +01:00