Commit graph

5520 commits

Author SHA1 Message Date
Maximilian Bosch 7d443d378b
nixos/oci-containers: support rootless containers & healthchecks
Closes #259770
Closes #207050

The motivation for the former is to not execute the container as root,
so you don't have to `sudo -i` to perform podman management tasks.

The idea behind healthchecks is to be able to keep the unit in the
activating state until the container is healthy, only then then unit is
marked as active.

The following changes were necessary:

* Move the ctr-id into `/run/${containerName}` to make podman can
  actually write to it since it's now in its RuntimeDirectory.

* Make `sdnotify` option configurable (`healthy` for healthchecks that
  must pass, default remains `conmon`).

* Set Delegate=yes for `sdnotify=healthy` to make sure a rootless
  container can actually talk to sd_notify[1].

* Add a warning that lingering must be enabled to have a `systemd --user`
  instance running which is required for the cgroup support to work
  properly.

* Added a testcase for rootless containers with both conmon and
  healthchecks.

[1] https://github.com/containers/podman/discussions/20573#discussioncomment-7612481
2025-02-27 11:08:33 +01:00
Martin Weinelt 35f9b4c165
zigbee2mqtt_2: init at 2.1.1 (#371053) 2025-02-25 05:09:13 +01:00
Bobby Rong 5bdd314871
nixos/doc/rl-2505: Fix wrong option name in Xfce 4.20 release notes (#384523) 2025-02-23 22:37:00 +08:00
Bobby Rong e3ac8c88f5
nixos/doc/rl-2505: Fix wrong option name in Xfce 4.20 release notes
https://search.nixos.org/options?channel=unstable&show=services.xserver.desktopManager.xfce.waylandSessionCompositor
2025-02-23 22:27:09 +08:00
Robert Schütz 7dd54f634d
python3Packages.beancount: 2.3.6 -> 3.1.0 (#371541) 2025-02-22 09:06:09 -08:00
Peder Bergebakken Sundt d525eb5838 treewide: fix typos
done with `fd \\\.md$ . --type f -x typos --write-changes`
2025-02-22 02:02:07 +01:00
Robert Helgesson 44a5b1bdca nixos/grav: init module 2025-02-21 23:09:42 +01:00
Martin Weinelt bf25eae002
nixos/routinator: init module (#380046) 2025-02-21 23:07:21 +01:00
Andrei Lapshin cc354c451c
python3Packages.beancount: 2.3.6 -> 3.1.0 2025-02-21 21:46:51 +01:00
Peter Lehmann c468f4e261
nixos/routinator: init module 2025-02-21 19:10:18 +01:00
Martin Weinelt 99eabc0ab3
zigbee2mqtt_2: init at 2.1.1
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.0.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.1
2025-02-21 14:14:41 +01:00
Ivan Trubach d8657587c0
nixos/victorialogs: init module (#376834) 2025-02-20 14:57:55 +03:00
Vladimír Čunát e493a167e1
staging-next 2025-02-09 (#380680) 2025-02-20 11:52:15 +01:00
Sandro 938b2abbeb
nixos/cross-seed: init module (#383409) 2025-02-20 11:20:36 +01:00
Pedro Alves 3b3bced9c5 nixos/cross-seed: init module 2025-02-20 09:51:26 +00:00
nixpkgs-ci[bot] 80447868c6
Merge master into staging-next 2025-02-20 00:14:40 +00:00
Sandro 2efa2118a0
nixos/gitea: add CAPTCHA support (#380847) 2025-02-19 20:38:46 +01:00
nixpkgs-ci[bot] a8eabdcf7f
Merge master into staging-next 2025-02-19 11:19:10 +00:00
Jörg Thalheim 8706be35d9
nixos/ghidra: init (#375831) 2025-02-19 14:31:02 +07:00
TGRCDev 9c68d12eba
nixos/gitea: add CAPTCHA support 2025-02-18 21:24:46 +01:00
nixpkgs-ci[bot] 9bd398d5e9
Merge master into staging-next 2025-02-18 12:05:57 +00:00
Jörg Thalheim cdf83e0f3a
nixos-generate-config: add --flake option (#383033) 2025-02-18 16:50:13 +07:00
GovanifY 6a3f025e54
nixos/ghidra: init 2025-02-18 09:53:01 +01:00
Pablo Ovelleiro Corral 1606ea91b4 nixos-generate-config: add --flake option
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2025-02-18 15:37:53 +07:00
Nguyễn Gia Phong bdc95d5afb mepo: 1.2.1 -> 1.3.3 2025-02-18 13:53:56 +05:30
Sam Willcocks a3827a595e nixos/victorialogs: init module 2025-02-17 11:23:20 +00:00
K900 395cc7772d Merge remote-tracking branch 'origin/master' into staging-next 2025-02-16 13:23:25 +03:00
misuzu faa68fc84b
vsmartcard-vpcd, vsmartcard-pcsc-relay: init at 0.9-unstable-2025-01-25, nixos/vsmartcard-vpcd: init (#194957) 2025-02-16 10:25:12 +02:00
nixpkgs-ci[bot] d4537b75d3
Merge master into staging-next 2025-02-16 00:16:11 +00:00
Christoph Honal 94a66f9416 nixos/vsmartcard-vcpd: init 2025-02-15 22:16:31 +01:00
ruro 3c3ddddbe8
python3Packages.bpycv: remove
The bpycv package is incompatible with blender version 4 or later. It
seems that neither upstream author nor the nixpkgs maintainer are
currently interested in updating/maintaining this package.

See:
- https://github.com/NixOS/nixpkgs/issues/379872
- https://github.com/DIYer22/bpycv/issues/51
- https://github.com/NixOS/nixpkgs/pull/380403
- https://github.com/NixOS/nixpkgs/pull/380443
2025-02-14 19:25:11 +03:00
Martin Weinelt eb57ea0460
Merge remote-tracking branch 'origin/master' into staging-next 2025-02-14 02:28:12 +01:00
kirillrdy ace6a3fdc2
xonsh.xontribs.xontrib-*: init at various (#354733) 2025-02-14 07:18:35 +11:00
Felix Bühler c501435cd7
nixos/rss-bridge: fix pool, add package, add webserver + test (#379189) 2025-02-13 19:40:23 +01:00
nixpkgs-ci[bot] ba14e0aa79
Merge master into staging-next 2025-02-13 00:14:34 +00:00
Tristan Ross 8005d0910b
prometheus-node-cert-exporter: init at 1.1.7 (#368325) 2025-02-12 12:34:24 -08:00
Felix Buehler 3cade1b5ac nixos/rss-bridge: add webserver option
Co-authored-by: Zitrone <general@dev.quantenzitrone.eu>
2025-02-11 23:57:16 +01:00
Felix Buehler b8735ce254 nixos/rss-bridge: add package option
Co-authored-by: Zitrone <general@dev.quantenzitrone.eu>
2025-02-11 22:41:07 +01:00
nixpkgs-ci[bot] e20903fa3d
Merge master into staging-next 2025-02-10 18:04:55 +00:00
misuzu 45798f6e54
Add Thinkpad NXP1001 NFC support using libnfc-nci and PC/SC (#379118) 2025-02-10 20:04:51 +02:00
Christoph Honal a05198804c nixos/nfc-nci: init 2025-02-10 15:59:53 +01:00
nixpkgs-ci[bot] 5140d32870
Merge master into staging-next 2025-02-10 00:15:04 +00:00
R. Ryantm e79b9e4784
kanata-with-cmd: 1.7.0 -> 1.8.0 2025-02-09 22:00:47 +08:00
Robert Scott 5fea611634 docs: mention promotion of stackclashprotection hardening flag to default enabled 2025-02-09 10:58:59 +00:00
Ryan Hendrickson 6f1338e307
nixos/version: validate system.stateVersion (#379754) 2025-02-09 00:46:17 -05:00
Donovan Glover 312785077a
serious-sans: drop (#377216) 2025-02-08 14:59:15 +00:00
Bruno BELANYI 9d64467654
Recyclarr: add missing release files (#380084) 2025-02-07 13:33:40 +00:00
Sandro fadee3e049
nixos/bird: rename bird2 to bird, switch to bird3 by default (#366190) 2025-02-07 14:28:30 +01:00
bas 9ece690ebf Add recyclarr module to module list and release notes 2025-02-07 12:26:48 +01:00
Infinidoge f05513f3af
nixos/xonsh: support extra packages 2025-02-06 11:03:45 -05:00