Commit Graph

24064 Commits

Author SHA1 Message Date
Maximilian Bosch
91054ce6ce
Merge pull request #207748 from blargg/wiki-js
nixos/wiki-js: Add git and openssh to the wiki-js service path to enable git backups.
2023-01-17 08:35:58 +01:00
Nick Cao
8f34f01185
Merge pull request #194343 from oxalica/fix/swap-btrfs
nixos/swap: fix creation on BTRFS and refactor assertions
2023-01-17 08:35:15 +08:00
Sandro
8986570cb3
Merge pull request #208956 from SuperSandro2000/profile-base-tcpdump 2023-01-17 01:20:31 +01:00
Tom Jankauski
eef1f70919 nixos/wiki-js: Add git and openssh to enable git backups. 2023-01-16 16:04:40 -08:00
Michele Guerini Rocco
594b94b4c3
Merge pull request #210812 from rnhmjoj/pr-initrd-secrets
boot.initrd.secrets fixes
2023-01-17 00:48:58 +01:00
oxalica
87a0c9490d nixos/swap: fix creation on BTRFS and refactor assertions 2023-01-17 06:47:21 +08:00
Jeff Huffman
96ec8c7623 nixos/documentation.man.mandb: Add skipPackages option, and include nixos-version
prevents unnecessary recreation of man caches

Fixes #209835
2023-01-16 22:24:02 +01:00
Lassulus
14c48f9864
Merge pull request #211098 from Mic92/lxc-container
nixos/lxc-container: fix compatibility with systemd-nspawn
2023-01-16 17:31:25 +01:00
Michael Alan Dorman
2bb560b367 gmrender-resurrect: Add gmediarender service
This creates a systemd unit that will start and supervise the
gmediarender daemon.
2023-01-16 17:28:56 +01:00
Jörg Thalheim
22a8cf0c28 nixos/lxc-container: fix compatibility with systemd-nspawn 2023-01-16 15:50:37 +01:00
Jonas Heinrich
c51dd42311 nixos/wordpress: add settings option 2023-01-16 14:06:10 +01:00
maifel-maifel
4dbc2fe873
nixos/syncthing: point out pitfalls with extraOptions (#210208)
Co-authored-by: digital <git-voopaipa@dinid.net>
2023-01-16 13:12:12 +01:00
Nick Cao
7ace936995
Merge pull request #211003 from lilyinstarlight/fix/qt6-plugin-path
nixos/qt: set QT_PLUGIN_PATH and QML2_IMPORT_PATH when enabled
2023-01-16 18:34:23 +08:00
Nick Cao
d3a33fd310
Merge pull request #211042 from uninsane/pr/mx-puppet-discord-to-subdir
nixos/mx-puppet-discord: move into matrix category
2023-01-16 15:51:40 +08:00
LuoChen
7a6c0bb468 snapper: fix "type=oneshot" error in snapper-boot.service 2023-01-16 15:33:15 +08:00
colin
87c877fff8 nixos/mx-puppet-discord: move into matrix category 2023-01-16 06:23:25 +00:00
Lily Foster
185874df63
nixos/qt: set QT_PLUGIN_PATH and QML2_IMPORT_PATH when enabled 2023-01-15 22:08:47 -05:00
rnhmjoj
9fc47e6db3
nixos-install: fix missing initrd.secrets paths
When installing NixOS in the target filesystem /mnt, paths relative to
configuration.nix in `initrd.secrets` are turned by Nix into absolute
paths that reference /mnt. While building the system derivation works,
installing the bootloader fails because the latter process takes place
inside the chroot environment where /mnt does not exist.

Ideally, we would also build the system within chroot, but this greatly
complicates the matter as it requires  manually copying over Nix, its
runtime dependencies and all channels. Possibly, this would also break
several assumptions users have about how nixos-install works.

A simpler and safer (but less neat) solution is to temporarily bind
mount all mount points in /mnt under /mnt/mnt to keep the paths
functional while the bootloader is being installed.
This is essentially the workaround described in issue #73404.
2023-01-16 02:31:01 +01:00
rnhmjoj
eccc1e5bf4
install-grub.pl: improve initrd-secrets error messages
The build of initrd-secrets can routinely fail for old boot entries
if the secrets have been removed or renamed in a later generation.
This always happens for generation 1, because it's built from the
NixOS installer and the paths differs by the mount point (i.e. /mnt).

The error is very confusing because it fails to mention it's about
an older generation and that it's somewhat harmless.

This commit turns the error into a warning for all generations but the
current, adds the name of the failed entry to the message and a note
explaining why it can happen.
2023-01-16 02:30:39 +01:00
Sandro
6fecd5a257
Merge pull request #204342 from anpandey/znc 2023-01-16 02:07:30 +01:00
Matthieu Coudron
14905af025
Merge pull request #210998 from teto/fix-sshd
services.openssh: fix doc
2023-01-16 01:52:47 +01:00
Dmitriy Kholkin
8e6f6d7db1
nixos/gitea: add tar.zst to the dump type 2023-01-16 03:34:11 +03:00
Jörg Thalheim
38d3031013
Merge pull request #210942 from GaetanLepage/autorandr
autorandr: 1.12.1 -> 1.13, nixos/services/autorandr: add ignoreLeadOption
2023-01-16 00:34:16 +01:00
Matthieu Coudron
293de575cb modules.openssh: provide default settings
else evaluation fails
2023-01-16 00:11:53 +01:00
Matthieu Coudron
83e2f6f3da services.openssh: fix doc 2023-01-16 00:06:40 +01:00
Naïm Favier
7d3f7637c6
Merge pull request #210965 from Izorkin/fix-gitea 2023-01-15 21:50:58 +01:00
Izorkin
1fd7d52d82
nixos/gitea: fix creation of data directory 2023-01-15 21:33:21 +03:00
Maximilian Bosch
6f474d1af4
Merge pull request #209495 from amesgen/gitea-dump-activation
nixos/gitea: don't run gitea-dump on activation
2023-01-15 19:28:03 +01:00
Maximilian Bosch
9aa1391bdf
Merge pull request #208803 from Ma27/revert-kmod-stage-1-hack
Revert "nixos/stage-1: fix `modprobe` in initial ramdisk on systems w/glibc-2.34"
2023-01-15 19:10:10 +01:00
Ryan Lahfa
503c288f4e
Merge pull request #207567 from Stunkymonkey/photoprism-module-init
nixos/photoprism: init module
2023-01-15 18:36:13 +01:00
Felix Buehler
fb9e8b9bd4 nixos/photoprism: init module 2023-01-15 18:02:43 +01:00
Ryan Lahfa
f8dd03989e
Merge pull request #208038 from SuperSandro2000/uptime-kuma-apprise
nixos/uptime-kuma: add option to enable apprise support
2023-01-15 17:59:00 +01:00
Ryan Lahfa
07dabf11e1
Merge pull request #210935 from JulienMalka/Ntfy-data-folder
nixos/ntfy-sh: Create data folder and auth database
2023-01-15 17:49:34 +01:00
Ryan Lahfa
b42ea74b96
Merge pull request #206655 from vlinkz/distroname
nixos/version: add system.nixos.distroName and system.nixos.distroId options
2023-01-15 17:39:55 +01:00
Julien Malka
d32f9548cb
nixos/ntfy-sh: Create data folder and auth database 2023-01-15 17:34:23 +01:00
Gaetan Lepage
d599e734e5 autorandr: 1.12.1 -> 1.13, nixos/services/autorandr: add ignoreLeadOption 2023-01-15 16:57:13 +01:00
Matthieu Coudron
cf10d7aef8
services.openssh: support freeform settings (#193757)
* services.openssh: support freeform settings

Keep "extraConfig" but introduces "settings".

Also renames several options

(mkRenamedOptionModule [ "services" "openssh" "kbdInteractiveAuthentication" ] [  "services" "openssh" "settings" "KbdInteractiveAuthentication" ])
(mkRenamedOptionModule [ "services" "openssh" "passwordAuthentication" ] [  "services" "openssh" "settings" "PasswordAuthentication" ])
(mkRenamedOptionModule [ "services" "openssh" "useDns" ] [  "services" "openssh" "settings" "UseDns" ])
(mkRenamedOptionModule [ "services" "openssh" "permitRootLogin" ] [  "services" "openssh" "settings" "PermitRootLogin" ])

* updated doc
* regen doc
2023-01-15 16:32:46 +01:00
Sandro
fa8ae2120d
Merge pull request #208715 from elohmeier/prom-rspamd-fix
Fixes https://github.com/NixOS/nixpkgs/issues/210390
2023-01-15 02:49:52 +01:00
Ryan Lahfa
33231c337e
Merge pull request #209538 from voidzero/zsh-syntax-hl.regexp
zsh-syntax-highlighting: add regexp to list of highlighters
2023-01-15 00:26:10 +01:00
Victor Fuentes
d3528cdc3d
nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
Elian Doran
ba0a640afd fancontrol: restart service after suspend 2023-01-14 19:33:48 +01:00
Martin Weinelt
b974cf6522
Merge pull request #209180 from NixOS/staging-next 2023-01-14 16:26:39 +00:00
Aaron Andersen
4e798adb3d
Merge pull request #209692 from veehaitch/gh-runner-mkmerge
nixos/github-runners: use `mkMerge` for `serviceConfig`
2023-01-14 11:10:14 -05:00
github-actions[bot]
79cb2f7e61
Merge master into staging-next 2023-01-14 11:12:34 +00:00
Naïm Favier
94197f9339
Merge pull request #207725 from SuperSandro2000/nixos-nginx 2023-01-14 10:45:32 +01:00
github-actions[bot]
4712ed9439
Merge master into staging-next 2023-01-14 00:02:26 +00:00
Robert Hensing
e973da60cd
Merge pull request #200225 from pacien/nixos-qemu-vm-restrictnetwork
nixos/qemu-vm: add option "restrictNetwork"
2023-01-13 21:47:21 +01:00
github-actions[bot]
49722fd14a
Merge master into staging-next 2023-01-13 18:01:34 +00:00
pennae
d6e464b4c5
Merge pull request #208983 from pennae/nixos-manual-md
nixos/manual: convert module chapters to markdown
2023-01-13 13:29:01 +01:00
Peder Bergebakken Sundt
5c7fa218c1 nixos/flexget: add package option 2023-01-13 13:08:05 +01:00
github-actions[bot]
85724d692e
Merge master into staging-next 2023-01-13 12:01:30 +00:00
Robin Gloster
96edaa02de
Merge pull request #210511 from mayflower/gitaly-runtime-dir
nixos/gitlab: set gitaly runtime dir
2023-01-13 12:33:37 +01:00
Franz Pletz
b88913fb11
nixos/gitlab: set gitaly runtime dir
If `runtime_dir` is not set, gitaly will use `/tmp` as a place for sockets
and packed binaries like `git2go`. If the gitlab instance does not experience
much traffic and gitlay is not restarted regularly, systemd-tmpfiles will
remove the binaries. This breaks some gitlab functionality until gitaly is
restarted manually.
2023-01-13 11:26:52 +01:00
Janne Heß
ea98d03597
Merge pull request #209755 from ivanbrennan/fix-neovim-runtime
nixos.programs.neovim: fix runtime
2023-01-13 09:43:07 +01:00
Martin Weinelt
5342b695b1 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-12 23:07:01 +01:00
Naïm Favier
7e1cf49870
Merge pull request #161237 from miallo/nixos-version-configuration-revision 2023-01-12 12:31:54 +01:00
Martin Weinelt
2895576165 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 15:37:38 +01:00
K900
b2a819f15f nixos/kernel: fix docs typo 2023-01-11 10:18:28 +03:00
Martin Weinelt
c1e6c6af69 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
Sandro
32eceb420a
Merge pull request #209927 from thanegill/patch-4 2023-01-11 02:47:07 +01:00
Thane Gill
f851fbc19f
changedetection-io: remove podman.defaultNetwork.dnsname.enable 2023-01-11 00:32:59 +01:00
Robert Obryk
9dbdb05924 nixos/restic: add exclude parameter
This provides an easy way to specify exclude patterns in config. It was
already possible via extraBackupOptions; this change creates a simpler,
similar to other backup services, way to specify them.
2023-01-11 00:06:13 +01:00
Robert Obryk
751b9063a7 nixos/restic: assert that repository name is specified 2023-01-11 00:06:08 +01:00
K900
cd1c574ebe nixos/kernel: better docs for boot.kernelPatches 2023-01-10 23:13:46 +03:00
Åsmund Østvold
ca0175017d
waagent: update to 2.8.0.11 (#206974)
The agent has not been updated for a very long time.  In addition to
updating to the newest tagged version the change creates a package for
it.

The existing version has issues with the new python2.7 package not
containing crypt.so file. And the commit
6910a4eea0038728a2f10ce84122806f2cb6b170 I believe introduced
regression that caused the shebang to not be updated.
2023-01-10 20:58:20 +01:00
Artturi
a08b0ed485
Merge pull request #169694 from fortuneteller2k/stevenblock-module 2023-01-10 19:26:24 +02:00
linsui
a2e21c76c7 rename config.qt5 -> config.qt 2023-01-10 20:50:15 +08:00
linsui
16f0d689de Add gnome theme for qt6 2023-01-10 20:48:45 +08:00
pennae
53fc887582 nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
pennae
b15f4d0f97 nixos/akkoma: auto-generate module chapter from MD 2023-01-10 10:47:14 +01:00
pennae
bf92eaebe4 nixos/manual: generate module chapters with md-to-db.sh 2023-01-10 10:32:00 +01:00
pennae
dc7788efb8 nixos/manual: regenerate chapter xml files
apparently pandoc has changed behavior over the past releases, so the
files are no longer in sync. occasionally this requires edits
to the markdown source to not remove an anchor that was there
before (albeit wth a very questionable id), or where things were simply
being misrendered due to syntax errors.
2023-01-10 10:31:59 +01:00
pennae
23ea73b416 nixos/manual: enable smart quotes for all MD chapters 2023-01-10 10:31:59 +01:00
pennae
03c72f224c nixos/pantheon: convert manual chapter to MD 2023-01-10 10:31:59 +01:00
pennae
da6641a57a nixos/gnome: convert manual chapter to MD 2023-01-10 10:31:59 +01:00
pennae
8a86d1f759 nixos/garage: convert manual chapter to MD 2023-01-10 10:31:59 +01:00
pennae
1bb00a9c12 nixos/plausible: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
42ea3f2699 nixos/nextcloud: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
66fdc39d80 nixos/matomo: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
760eaa3c94 nixos/keycloak: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
b5990a47e0 nixos/jitsi-meet: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
1be48def96 nixos/grocy: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
pennae
7318430f92 nixos/discourse: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
e4897cdf16 nixos/yggdrasil: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
963c6f54aa nixos/prosody: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
5917123885 nixos/pleroma: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
d075d2c276 nixos/litestream: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
ce319f60ad nixos/prometheus/exporters: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
8c17c417a1 nixos/weechat: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
pennae
2928e0c487 nixos/taskserver: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
pennae
0cc9d6cf5d nixos/sourcehut: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
pennae
73d8b04f30 nixos/gitlab: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
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