Commit Graph

37642 Commits

Author SHA1 Message Date
Marco Rebhan
92a541c0ed
nixos/krb5: cleanup, fix and RFC42-ify
This replaces the krb5 module's options with RFC 42-style krb5.settings
option, while greatly simplifying the code and fixing a few bugs,
namely:

- #243068 krb5: Configuration silently gets ignored when set by
  multiple modules
- not being able to use mkIf etc. inside subattributes of
  krb5.libdefaults, e.g. krb5.libdefaults.default_realm = mkIf ...

See #144575.
Closes #243068.

Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-12-21 11:34:59 +01:00
Jörg Thalheim
3fcdbd3029
Merge pull request #275591 from Mic92/nix-direnv-nixos
nixos/nix-direnv: respect configured nix package
2023-12-21 11:18:08 +01:00
Jörg Thalheim
fd32059984 nixos/nix-direnv: respect configured nix package
Rebuilds should be reasonably fast since it's a shell script
and we don't end up with different versions of nix in the store.
2023-12-21 09:08:42 +01:00
Raghav Sood
7d97d9ebd1
Merge pull request #275439 from RaghavSood/nitter/guest-accounts
nitter: unstable-2023-10-31 -> unstable-2023-12-03 (guest accounts support)
2023-12-21 14:03:35 +08:00
Martin Weinelt
d12a0b7861
Merge pull request #275554 from SuperSandro2000/home-assistant-custom-components-fix-unlink
nixos/home-assistant: fix removing of uninstalled custom components
2023-12-20 21:15:26 +01:00
WilliButz
ac58b65cf5
Merge pull request #275112 from r-ryantm/auto-update/prometheus-nginx-exporter
prometheus-nginx-exporter: 0.11.0 -> 1.0.0
2023-12-20 20:27:28 +01:00
Maximilian Bosch
571f06ad0d
Merge pull request #270260 from SuperSandro2000/gitea-camo-hmac
nixos/gitea: add hmacKey support
2023-12-20 19:02:20 +01:00
Franz Pletz
faff9de754
nixos/prometheus/nginx-exporter: fix args for 1.0 2023-12-20 18:23:29 +01:00
Franz Pletz
54a4f96cfc
Merge pull request #274570 from Luflosi/kubo-more-RFC42
nixos/kubo: convert two settings to RFC42-style settings
2023-12-20 16:24:50 +01:00
Maciej Krüger
ff680a4c39
Merge pull request #207717 from jpathy/patch-2 2023-12-20 13:52:03 +01:00
Peder Bergebakken Sundt
6b25f0686e
Merge pull request #253147 from SuperSandro2000/ssh-forwardx11
nixos/ssh: add variant to not set ForwardX11
2023-12-20 12:42:47 +01:00
Florian Klink
c28f238f5a
Merge pull request #272946 from benaryorg/resolved_no_fallback
nixos/resolved: Allow upstream fallback override
2023-12-20 12:55:44 +02:00
Robin Gloster
b5556f2c37
Merge pull request #268109 from helsinki-systems/helsinki-maintainer-team
maintainers/teams: init and add helsinki-systems
2023-12-20 11:43:29 +01:00
Sandro Jäckel
d4c622ec5f
nixos/home-assistant: fix removing of uninstalled custom components
Before components was not an array and the first loop did never loop
through all entries but through the entire output of find without
splitting by new line.

Tested by copying the preStart script out of the nix store, doing the
change and observing that now the custom-components directory is indeed
being cleaned up after removing a custom component.
2023-12-20 05:00:05 +01:00
Raghav Sood
d380604c44
nitter: update tests to use guestAccounts 2023-12-20 11:36:11 +08:00
Julien Malka
0ddc907228
Merge pull request #273441 from JulienMalka/systemd-boot-garbage-test-rename 2023-12-20 01:26:11 +01:00
Kerstin
d2d0044221
Merge pull request #274556 from networkException/mastodon-init-db-psql-escaping
nixos/mastodon: properly escape arguments to psql in init-db script
2023-12-19 22:28:08 +01:00
Ilan Joselevich
6f885c4e74
Merge pull request #275383 from Kranzes/nextcloud
nixos/nextcloud: serve flac and ogg files
2023-12-19 23:19:06 +02:00
networkException
4dd61b6e68
nixos/mastodon: properly escape arguments to psql in init-db script 2023-12-19 21:02:13 +01:00
Sandro Jäckel
88946fe4d8
nixos/ssh: add variant to not set ForwardX11
ssh_config allows a setting to only be set once and if more complex
conditions are used than having ForwardX11 already defined can be a
problem.
2023-12-19 19:35:26 +01:00
Florian Klink
b6cad0fd94
Merge pull request #274220 from flokli/waagent-cleanups
waagent: cleanups
2023-12-19 19:19:40 +02:00
Raghav Sood
23a56af4b4
nitter: document requirement for guest accounts 2023-12-20 00:01:21 +08:00
Raghav Sood
2595f503cd
nitter: add guest account support to systemd service 2023-12-20 00:01:20 +08:00
K900
e42d80fa6d
Merge pull request #274818 from eyJhb/moonraker-new-config-filemanager
moonraker: add setting file_manager.check_klipper_config_path
2023-12-19 17:36:54 +03:00
eyjhb
0fc323eeef
moonraker: disable check_klipper_config if klipper is immutable 2023-12-19 15:36:01 +01:00
Adam C. Stephens
6b43e4b0bc
Merge pull request #260128 from adamcstephens/lxd/no-restart-agent
nixos/lxd-agent: prevent restarting on change
2023-12-19 08:41:21 -05:00
Peder Bergebakken Sundt
1a647a10b8
Merge pull request #268806 from Izorkin/init-angie
angie: init at 1.4.0
2023-12-19 13:51:51 +01:00
Yonghan Ching 庄勇翰
5fff7f4078 Update zerotierone.nix per input
Nothing will happen now when `cfg.localConf == null`
2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
7b83a839dc Fix bash prestart script syntax error 2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
996bbe5bd9 delete trailing whitespace at row 70 2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
8af401d3cf Update zerotierone.nix per input
Changed `services.zerotierone.localConf` default value to `null` and type to `nullOr attrs` per input.

Changed `systemd` preStart script to delete
 `/var/lib/zerotier-one/local.conf` when it is a symlink, and rename when it is an actual file, then only create a symlink to the nix store when `services.zerotierone.localConf` is not null.
2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
b233faab82 Update zerotierone.nix 2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
36791bab6a Update zerotierone.nix 2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
0b357293e8 Update zerotierone.nix 2023-12-19 12:34:03 +00:00
Yonghan Ching 庄勇翰
097f2b6737 Update zerotierone.nix
Added option to write zerotier's local.conf in nix.
2023-12-19 12:34:03 +00:00
Ilan Joselevich
8bbbb228b4
nixos/nextcloud: serve flac and ogg files
Since v28 Nextcloud Talk supports serving files with with .ogg/.flac extension
2023-12-19 13:07:19 +02:00
r-vdp
c4b3e4f5f8 dbus-broker: avoid errors when reloading when /tmp got remounted
When reloading the dbus-broker service (e.g. when switching to a new generation),
the reload fails when /tmp got remounted after the service had been started.
Since the dbus-broker service starts early, and does not have default dependencies,
this situation does occur in practice.
This change makes sure that if there are mount units for /tmp, dbus-broker gets
ordered after them.

See also https://github.com/systemd/systemd/issues/28515
2023-12-19 10:34:41 +01:00
Florian Klink
150f83621c
Merge pull request #275340 from flokli/initrd-makefs-unconditionally
nixos/systemd/initrd: add systemd-makefs unconditionally
2023-12-19 11:08:34 +02:00
Thomas Churchman
972626f142 mopidy: make service wait until system is online 2023-12-19 08:34:50 +01:00
Florian Klink
5a57cde110 nixos/systemd/initrd: add systemd-makefs unconditionally
As discussed in
https://github.com/NixOS/nixpkgs/issues/274310#issuecomment-1861842634,
the size increase is negligible, and this might be triggered via fstab
options or the cmdline too.

systemd-growfs is an online operation, so it's taken care of in stage 2.

Fixes https://github.com/NixOS/nixpkgs/issues/274310.
2023-12-19 08:38:03 +02:00
Will Fancher
4aeb82afc8
Merge pull request #275105 from SuperSandro2000/initrd-crypttab
nixos/luksroot: add final newline to /etc/crypttab
2023-12-18 19:00:53 -05:00
Sandro Jäckel
1ebb7d7bba
nixos/gitea: add hmacKey support 2023-12-18 23:44:24 +01:00
Jonathan Ringer
432b9bd620 nixos/firmware: Omit removed rtl8723-bs package 2023-12-18 10:49:40 -08:00
Nick Cao
bdd50be980
Merge pull request #273876 from timothyklim/master
nvidia_x11.dc_535: 535.129.03
2023-12-18 12:50:00 -05:00
Nick Cao
fc5c9afd4d
Merge pull request #225513 from codedownio/julia-modules
Build arbitrary Julia package environments in Nixpkgs
2023-12-18 09:58:27 -05:00
WilliButz
92ad5c907c
Merge pull request #274543 from fugidev/sabnzbd-exporter-loadcredential
nixos/prometheus-sabnzbd-exporter: use LoadCredential for apiKeyFile
2023-12-18 15:09:35 +01:00
Peder Bergebakken Sundt
45052e5e52
Merge pull request #273397 from ipetkov/nut
nixos/ups: fix shutting down the UPS from primary monitors
2023-12-18 15:06:22 +01:00
Fugi
6430b7a181
nixos/prometheus-sabnzbd-exporter: use LoadCredential for apiKeyFile 2023-12-18 14:48:49 +01:00
Florian Klink
f1c8d0709b nixos/waagent: provide waagent udev rules in initrd
This should make /dev/disk/azure appear in-initrd too.
2023-12-18 13:18:11 +02:00
Florian Klink
276939e0a1 nixos/waagent: move runtime dependencies to systemd service
The udev rules shell out to chmod, cut and readlink, which are available
for udev rules (see https://github.com/NixOS/nixpkgs/pull/274236).
2023-12-18 13:18:11 +02:00