nixpkgs/nixos/modules/services
Moritz 'e1mo' Fromm b63e0d77b8 nixos/bird-lg: Rework command attribute generation
Prior to this change, arguments were not escaped nor was the possiblity
for arguments to be empty accounted for. This led to a kinda broken
startup script were arguments were "shifted", e.g. leaving allowedIPs
empty in order to use the default would cause `--bird` (the following
arguments key) to be used as the value. This was also observable when
e.g. the navbarBrand had a space in it where only everything until the
first space would show up.

With the new approach, all arguments are consistently escaped and empty
ones left out.

`extraConfig` now supports and prefers lists of strings instead of
lines (still supported but warned). This is due to the fragility with
respect to e.g. forgetting trailing backslashes after each line.
`frontend.{servers,domain}` are unset by default since the frontend
needs (the upstream project itself has no empty defaults here) needs
them to be set. If not set, an error is caused at build-time.

`proxy.birdSocket` has a new default: The projects README[^1] states
`/var/run/bird/bird.ctl` as the current default value. And bird2 on
NixOS does use this path too.

[^1]: https://github.com/xddxdd/bird-lg-go#proxy
2023-04-25 10:41:35 +02:00
..
admin
amqp nixos/activemq: deprecate phases 2023-01-12 23:03:06 +01:00
audio treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
backup Merge pull request #222080 from Stunkymonkey/nixos-optionalString 2023-04-20 16:07:30 +03:00
blockchain/ethereum treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
cluster nixos/kubernetes: kubelet --container-runtime flag has been removed 2023-04-13 07:21:56 +10:00
computing tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
continuous-integration Merge pull request #222080 from Stunkymonkey/nixos-optionalString 2023-04-20 16:07:30 +03:00
databases remove myself (erictapen) from packages which I don't use anymore 2023-04-03 17:07:16 +02:00
desktops nixos/pipewire: spring cleaning 2023-03-14 20:31:32 +03:00
development nixos/lorri: install direnv 2023-04-14 15:19:34 +02:00
display-managers greetd: use service-type 'idle' in systemd-service to avoid overlapping systemd-output 2022-12-19 18:22:16 +01:00
editors nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
finance
games treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
hardware systemd-initrd: networkd 2023-04-17 16:41:34 -04:00
home-automation Merge pull request #222617 from oddlama/esphome 2023-04-18 06:45:40 +02:00
logging treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
mail nixos/roundcube: read only first line of password file 2023-04-23 21:05:48 +02:00
matrix Merge pull request #221856 from Mic92/dendrite 2023-04-05 08:36:44 +01:00
misc nixos/gitea: remove extra " in prestart 2023-04-22 09:12:02 +02:00
monitoring Merge pull request #222080 from Stunkymonkey/nixos-optionalString 2023-04-20 16:07:30 +03:00
network-filesystems Merge pull request #222080 from Stunkymonkey/nixos-optionalString 2023-04-20 16:07:30 +03:00
networking nixos/bird-lg: Rework command attribute generation 2023-04-25 10:41:35 +02:00
printing Merge pull request #105694 from laikq/master 2023-04-19 23:38:05 +03:00
scheduling
search qdrant: module increase limitnofile 2023-04-15 13:45:38 -04:00
security nixos/authelia: Allow using Unix sockets 2023-04-20 23:53:16 +02:00
system Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkd 2023-04-21 18:40:59 +02:00
torrent nixos/rtorrent: make directory permissions configurable 2023-01-22 19:43:39 +01:00
tracing
ttys
video rtsp-simple-server: rebrand as mediamtx 2023-04-12 12:23:44 +03:00
wayland
web-apps Merge pull request #227235 from Ma27/bump-nextcloud 2023-04-21 11:14:29 +02:00
web-servers nixos/stargazer: init 2023-04-24 21:52:19 -03:00
x11 nixos/plasma5: install kde-inotify-survey 2023-04-20 11:54:06 +03:00