Compare commits

...

1081 Commits

Author SHA1 Message Date
Sandro
f4a5f018f7
rustls-ffi: 0.13.0 -> 0.14.1 (#352584)
Some checks failed
Eval / Attributes (push) Has been cancelled
Eval / Outpaths (push) Has been cancelled
Eval / Process (push) Has been cancelled
Eval / Tag (push) Has been cancelled
2024-11-30 17:45:05 +01:00
Robert Schütz
a056552137
python312Packages.libcst: 1.5.0 -> 1.5.1 (#357874) 2024-11-30 08:29:59 -08:00
Pol Dellaiera
7fd4e5f7c3
parca-agent: init at 0.35.0 (#360132) 2024-11-30 17:19:47 +01:00
Atemu
60a1ffe606
lact: mention NVIDIA (#360392) 2024-11-30 16:34:34 +01:00
Atemu
30e8e79ac9
gerrit: 3.10.2 -> 3.10.3 (#359389) 2024-11-30 16:26:14 +01:00
Jan Christoph Ebersbach
b99389f02d
xautocfg: init at 1.2 (#335733)
Co-authored-by: Yohann Boniface <edhyjox@gmail.com>
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-11-30 23:25:53 +08:00
Fabian Affolter
cbac36aa93
python312Packages.python-gvm: 24.8.0 -> 24.11.0 (#359884) 2024-11-30 16:25:31 +01:00
Aleksana
5a7a68136d
treewide: use rustPlatform.bindgenHook (#360427) 2024-11-30 23:16:23 +08:00
Tristan Ross
08061fddcc
README: Update to 24.11 (#359945) 2024-11-30 07:05:49 -08:00
Tristan Ross
1819817298
Release 24.11 (#359948) 2024-11-30 06:55:53 -08:00
Aleksana
d772438feb
gapless: 4.0 -> 4.2 (#360368) 2024-11-30 22:38:24 +08:00
nixpkgs-merge-bot[bot]
711fb0167d
pragtical: 3.5.0 -> 3.5.1 (#360180) 2024-11-30 14:31:42 +00:00
Nick Cao
3c352ba051
scx.rustscheds: drop clang from nativeBuildInputs 2024-11-30 09:29:02 -05:00
Nick Cao
23a60b0966
neothesia: drop clang from nativeBuildInputs 2024-11-30 09:29:02 -05:00
Nick Cao
1a827e70dc
libkrun: drop clang from nativeBuildInputs 2024-11-30 09:29:01 -05:00
Nick Cao
f826c0aafa
fedimint: drop various darwin workarounds, use new sdk pattern 2024-11-30 09:29:01 -05:00
Nick Cao
682cf788e1
scx.rustscheds: use rustPlatform.bindgenHook 2024-11-30 09:29:00 -05:00
Nick Cao
52614866fd
servo: use rustPlatform.bindgenHook 2024-11-30 09:29:00 -05:00
Nick Cao
bbd2561c7f
fedimint: use rustPlatform.bindgenHook 2024-11-30 09:28:59 -05:00
Nick Cao
f9b5b1f98c
caligula: use new darwin sdk pattern 2024-11-30 09:28:59 -05:00
Nick Cao
b88f9fe294
caligula: use rustPlatform.bindgenHook 2024-11-30 09:28:59 -05:00
Nick Cao
c56b374946
libkrun: use rustPlatform.bindgenHook 2024-11-30 09:28:58 -05:00
Nick Cao
b20782310e
neothesia: use rustPlatform.bindgenHook 2024-11-30 09:28:58 -05:00
Nick Cao
0ff027e0ae
nufmt: use rustPlatform.bindgenHook 2024-11-30 09:28:57 -05:00
Thiago Kenji Okada
9f06965445
nixos-rebuild-ng: don't repeat the keep_going argument (#360287) 2024-11-30 14:28:54 +00:00
Thomas Gerbet
b5dea63a56 apacheHttpd: remove support for mod_tls
It has been removed upstream and is now managed independently.

988f449632
2024-11-30 15:20:40 +01:00
Thomas Gerbet
01ccbb3e07 rustls-ffi: 0.13.0 -> 0.14.1
Changes:
https://github.com/rustls/rustls-ffi/releases/tag/v0.14.0
https://github.com/rustls/rustls-ffi/releases/tag/v0.14.1
2024-11-30 15:20:40 +01:00
Nick Cao
b22490d198
julia.withPackages: expose the version on the derivation (#360303) 2024-11-30 09:20:27 -05:00
Nick Cao
0ee5d53bc1
python312Packages.herepy: 3.6.4 -> 3.6.5 (#360403) 2024-11-30 09:13:45 -05:00
Nick Cao
226e750730
python312Packages.aiovlc: 0.6.2 -> 0.6.3 (#360407) 2024-11-30 09:11:54 -05:00
Nick Cao
71622a3d82
python312Packages.dbt-snowflake: 1.8.3 -> 1.8.4 (#360433) 2024-11-30 09:07:34 -05:00
Nick Cao
1502af5a9f
python312Packages.kbcstorage: 0.9.1 -> 0.9.2 (#360377) 2024-11-30 09:04:47 -05:00
Nick Cao
43a6c7cbdc
python312Packages.fastcore: 1.7.20 -> 1.7.22 (#360397) 2024-11-30 09:03:37 -05:00
nixpkgs-merge-bot[bot]
16351967ed
gcov2lcov: 1.1.0 -> 1.1.1 (#360205) 2024-11-30 14:03:07 +00:00
Nick Cao
adf9e07578
python312Packages.pyoverkiz: 1.15.0 -> 1.15.1 (#360329) 2024-11-30 08:59:40 -05:00
Nick Cao
debeda222a
mlx42: 2.4.0 -> 2.4.1 (#360338) 2024-11-30 08:58:52 -05:00
R. Ryantm
7064bc9d99 python312Packages.dbt-snowflake: 1.8.3 -> 1.8.4 2024-11-30 13:48:57 +00:00
Nick Cao
c14b9064de
python312Packages.latexrestricted: 0.6.0 -> 0.6.2 (#360351) 2024-11-30 08:48:32 -05:00
Nick Cao
880ca7e7cc
kubecfg: 0.35.0 -> 0.35.1 (#360358) 2024-11-30 08:46:30 -05:00
Nick Cao
a874ed2e83
python312Packages.pystac-client: 0.8.4 -> 0.8.5 (#360360) 2024-11-30 08:46:00 -05:00
Philip Taron
2a59d4daed
microsoft-identity-broker: fix hash mismatch (#360248) 2024-11-30 05:44:35 -08:00
nixpkgs-merge-bot[bot]
c583c7cdc5
restinio: 0.7.2 -> 0.7.3 (#360161) 2024-11-30 13:43:14 +00:00
Aleksana
8d07d2cae3
lockbook: init at 0.9.15 (#358794) 2024-11-30 21:39:31 +08:00
Nick Cao
488a5de3ba
nufmt: 0-unstable-2024-10-20 -> 0-unstable-2024-11-21 (#360299) 2024-11-30 08:37:50 -05:00
Nick Cao
82919b8e74
mxt-app: 1.40 -> 1.41 (#360302) 2024-11-30 08:37:17 -05:00
Nick Cao
b4a5d25d3f
python312Packages.opensearch-py: 2.7.1 -> 2.8.0 (#360318) 2024-11-30 08:35:16 -05:00
Nick Cao
fa3abc3441
kube-bench: 0.9.0 -> 0.9.2 (#360257) 2024-11-30 08:32:17 -05:00
Nick Cao
8e07d8423e
terraform-backend-git: 0.1.7 -> 0.1.8 (#360266) 2024-11-30 08:30:19 -05:00
Nick Cao
84abec6a3d
svd2rust: 0.33.5 -> 0.35.0 (#360269) 2024-11-30 08:29:43 -05:00
Nick Cao
516c5a1921
mpvScripts.mpv-image-viewer.equalizer: 0-unstable-2023-03-03 -> 0-unstable-2024-11-23 (#360276) 2024-11-30 08:28:49 -05:00
Nick Cao
431621bba7
cargo-tarpaulin: 0.31.2 -> 0.31.3 (#360278) 2024-11-30 08:28:31 -05:00
Nick Cao
f873018b61
grpcui: 1.4.1 -> 1.4.2 (#360279) 2024-11-30 08:27:49 -05:00
nixpkgs-merge-bot[bot]
955a3e01f2
legcord: 1.0.4 -> 1.0.5 (#360228) 2024-11-30 13:26:23 +00:00
Peder Bergebakken Sundt
d266649035
python312Packages.moderngl-window: 2.4.6 -> 3.0.0 (#360362) 2024-11-30 14:26:06 +01:00
Maximilian Bosch
a1d35315ca
Merge: postgresqlPackages.pg-gvm: move from top-level package (#359421) 2024-11-30 14:15:53 +01:00
Wolfgang Walther
511b0843c7
postgresqlPackages.pg-gvm: move from top-level package
This is a PostgreSQL extension, which only works properly when made
available in the postgresql.pkgs package set.
2024-11-30 14:07:25 +01:00
Philip Taron
0c78ebd800
buildFHSEnv: fix cross compilation (#360359) 2024-11-30 05:02:07 -08:00
Bobby Rong
4e0999e058
nixosTests.vscodium: Workaround OCR tests (#360404) 2024-11-30 20:54:48 +08:00
Thomas Gerbet
f40efe1ce9
hdf5_1_10: enable cpp support (#359531) 2024-11-30 13:51:46 +01:00
Yt
8fe12bdf8c
python312Packages.unstructured: 0.15.14 -> 0.16.8 (#360187) 2024-11-30 07:50:27 -05:00
Maximilian Bosch
977c297cc6
Merge: dmarc-metrics-exporter: 1.1.0 -> 1.2.0 (#359710) 2024-11-30 13:49:25 +01:00
Fabian Affolter
99c3d04cf2 python312Packages.aiovlc: 0.6.2 -> 0.6.3
Diff: https://github.com/MartinHjelmare/aiovlc/compare/refs/tags/v0.6.2...v0.6.3

Changelog: https://github.com/MartinHjelmare/aiovlc/blob/v0.6.3/CHANGELOG.md
2024-11-30 13:45:59 +01:00
Bobby Rong
cd45cfe9c4
nixosTests.vscodium: Workaround OCR tests
An attempt to help https://hydra.nixos.org/build/279535629/nixlog/1.

The "Get Started with" text is much easier to find.
Also scale vscodium to help OCR find the "Untitled" text.
2024-11-30 20:42:46 +08:00
Fabian Affolter
7a6eb7e69d
chainsaw 2.9.2 -> 2.10.1 (#360011) 2024-11-30 13:38:57 +01:00
Fabian Affolter
0633f26e7b python312Packages.fastcore: 1.7.20 -> 1.7.22
Diff: https://github.com/fastai/fastcore/compare/refs/tags/1.7.20...1.7.22

Changelog: https://github.com/fastai/fastcore/blob/1.7.22/CHANGELOG.md
2024-11-30 13:32:51 +01:00
Fabian Affolter
4e480bb11d
morf: init at 1.0.0 (#360202) 2024-11-30 13:30:14 +01:00
Fabian Affolter
183d460315
python312Packages.glances-api: 0.8.0 -> 0.9.0 (#352978) 2024-11-30 13:28:35 +01:00
R. Ryantm
56597456e1 python312Packages.herepy: 3.6.4 -> 3.6.5 2024-11-30 12:24:16 +00:00
Patrizio Bekerle
a68512db54
lact: mention NVIDIA 2024-11-30 13:18:08 +01:00
Maximilian Bosch
a3f0dacb12
Merge: pg_top: 3.7.0 -> 4.1.0 (#358676) 2024-11-30 13:15:01 +01:00
Thomas Gerbet
33f830be76
moodle: 4.4.1 -> 4.4.3 (#334639) 2024-11-30 13:08:19 +01:00
Pol Dellaiera
2fe4a84888
bombsquad: fix hash mismatch (#360201) 2024-11-30 13:08:06 +01:00
Pol Dellaiera
dfd6a4a50f
linuxKernel.packages.linux_6_12.evdi: add support for kernel >= 6.12 (#360378) 2024-11-30 12:51:12 +01:00
Ivan Dimitrov
73710fe751
linux_latest-libre: 19663 -> 19675 (#359464)
Fixes build.
2024-11-30 12:23:19 +01:00
Gaétan Lepage
a81305c367
rabbitmq-server: 4.0.2 → 4.0.4 (#358653) 2024-11-30 12:15:16 +01:00
Pol Dellaiera
ffdc074242 linuxKernel.packages.linux_6_12.evdi: add support for kernel >= 6.12 2024-11-30 12:02:36 +01:00
R. Ryantm
c18529fe16 python312Packages.kbcstorage: 0.9.1 -> 0.9.2 2024-11-30 10:51:47 +00:00
Markus Kowalewski
a5ea1f37d2
nfs-ganesha: 6.2 -> 6.3 (#359179) 2024-11-30 11:49:40 +01:00
Florian Klink
94ff31ecb8
jwx: 2.1.1 -> 2.1.3 (#360363) 2024-11-30 12:43:42 +02:00
Markus Kowalewski
77a34c1488 ntirpc: 6.0.1 -> 6.3 2024-11-30 11:33:59 +01:00
R. Ryantm
f3bb835a46 gapless: 4.0 -> 4.2 2024-11-30 10:31:40 +00:00
Vlad M.
3c818433d5
oxipng: 9.1.2 -> 9.1.3 (#360304) 2024-11-30 12:22:14 +02:00
Gaetan Lepage
1f506d83a5 python312Packages.moderngl-window: 2.4.6 -> 3.0.0
Diff: https://github.com/moderngl/moderngl_window/compare/refs/tags/2.4.6...3.0.0

Changelog: https://github.com/moderngl/moderngl-window/blob/3.0.0/CHANGELOG.md
2024-11-30 11:19:16 +01:00
R. Ryantm
0dd1c943d7 jwx: 2.1.1 -> 2.1.3 2024-11-30 10:13:14 +00:00
Masum Reza
9e34adf224
magic-wormhole-rs: 0.7.3 -> 0.7.4 (#360356) 2024-11-30 15:36:10 +05:30
R. Ryantm
617a7655c2 python312Packages.pystac-client: 0.8.4 -> 0.8.5 2024-11-30 10:03:04 +00:00
Stefan Frijters
8a667a5213
buildFHSEnv: fix cross compilation
rootfs-builder is executed at build time and thus needs to be
built for the build machine architecture.
2024-11-30 11:02:48 +01:00
R. Ryantm
425683af2d kubecfg: 0.35.0 -> 0.35.1 2024-11-30 09:56:50 +00:00
Michele Guerini Rocco
08ae948608
redlib: 0.35.1-unstable-2024-11-01 -> 0.35.1-unstable-2024-11-22 (#358226) 2024-11-30 10:55:05 +01:00
R. Ryantm
397b693e76 magic-wormhole-rs: 0.7.3 -> 0.7.4 2024-11-30 09:45:34 +00:00
Bobby Rong
9b8a474730
mate.mate-terminal: fix cross compilation, format with nixfmt (#360189) 2024-11-30 17:43:40 +08:00
Bobby Rong
97520c9ed0
mate.mate-calc: fix cross compilation, format with nixfmt (#360185) 2024-11-30 17:39:11 +08:00
Tom McLaughlin
fb35df9f91 julia.withPackages: expose pname/version and move things to passthru 2024-11-30 02:39:01 -07:00
Bobby Rong
14df465130
mate.mate-system-monitor: fix cross compilation, format with nixfmt (#360186) 2024-11-30 17:35:08 +08:00
Ivan Mincik
395d59f54b qgis-ltr: 3.34.11 -> 3.34.13 2024-11-30 09:33:50 +00:00
Ivan Mincik
9fc2250e80 qgis-ltr: build with same pyqt version as qgis 2024-11-30 09:33:50 +00:00
Ivan Mincik
c989da7576 qgis: 3.38.3 -> 3.40.1 2024-11-30 09:32:38 +00:00
Ivan Mincik
87e00e577b
qgis: use default python version (#359758) 2024-11-30 09:30:47 +00:00
Jörg Thalheim
b0a667f16d
nix-plugin-pijul: 0.1.4 -> 0.1.5 (#360005) 2024-11-30 10:23:02 +01:00
R. Ryantm
64d8372298 python312Packages.latexrestricted: 0.6.0 -> 0.6.2 2024-11-30 09:10:44 +00:00
Fabian Affolter
c363307fac
python312Packages.aiowmi: init at 0.2.3 (#359995) 2024-11-30 10:05:36 +01:00
Fabian Affolter
c60179cdca
python312Packages.jh2: init at 5.0.4 (#359996) 2024-11-30 10:05:21 +01:00
Fabian Affolter
972f716b4f
mqtt-randompub: init at 0.2.2 (#360094) 2024-11-30 10:05:07 +01:00
nixpkgs-merge-bot[bot]
32c14266ff
ytdownloader: 3.18.3 -> 3.18.4 (#360118) 2024-11-30 08:58:54 +00:00
Leona Maroni
2ba711361f
gitlab: 17.3.7 -> 17.5.2 (#360160) 2024-11-30 09:51:21 +01:00
Benedikt Peetz
923e2e59cc
redlib: 0.35.1-unstable-2024-11-01 -> 0.35.1-unstable-2024-11-27
The current version of redlib in nixpkgs is already 20 days old
and does no longer work because of a change on reddit's side, see:
https://github.com/redlib-org/redlib/issues/324.
2024-11-30 09:47:04 +01:00
Pol Dellaiera
e012442a7e
workflows/eval: Clear unnecessary rebuild labels (#360277) 2024-11-30 09:20:53 +01:00
Pol Dellaiera
46fba61472
workflows/eval: Make sure to compare against the push run (#360274) 2024-11-30 09:19:42 +01:00
R. Ryantm
be214b4f0e mlx42: 2.4.0 -> 2.4.1 2024-11-30 08:17:49 +00:00
Leona Maroni
86911616f7
halloy: fix add halloy url scheme handler (#351700) 2024-11-30 09:00:44 +01:00
R. Ryantm
866939c5b2 python312Packages.pyoverkiz: 1.15.0 -> 1.15.1 2024-11-30 07:24:10 +00:00
Masum Reza
57feb2a16f
libstroke: fix build with gcc14 (#358142) 2024-11-30 12:54:07 +05:30
Aleksana
2885c26828
vermin: init a 1.6.0 (#356403) 2024-11-30 15:05:29 +08:00
Aleksana
93dd0f49d8
jogger: 1.2.4-unstable-2024-04-05 -> 1.2.5 (#360093) 2024-11-30 14:50:02 +08:00
Franz Pletz
357fff0f44
nixos/networkd: allow configuring RTTSec for CAKE qdisc (#285737) 2024-11-30 07:25:54 +01:00
Franz Pletz
0ea5454f75
nixos/networkd: fix eval (#360315) 2024-11-30 07:11:26 +01:00
Franz Pletz
18cf9ad14b
nixos/networkd: fix eval
Broken by #330662.
2024-11-30 07:08:18 +01:00
R. Ryantm
8819a28de8 python312Packages.opensearch-py: 2.7.1 -> 2.8.0 2024-11-30 06:00:57 +00:00
Franz Pletz
e383460f09
nixos/networkd: add dhcpServerConfig.PersistLeases option (#353189) 2024-11-30 06:46:51 +01:00
Franz Pletz
e5a4cc81ab
nixos/networkd: add some new options in systemd 256 (#330662) 2024-11-30 06:44:55 +01:00
Masum Reza
9a75f507da
pappl: 1.4.7 -> 1.4.8 (#360307) 2024-11-30 11:09:26 +05:30
Pol Dellaiera
8de0d4c501
typstyle: 0.12.4 -> 0.12.5 (#360263) 2024-11-30 06:38:51 +01:00
Pol Dellaiera
f87e975048
mistral-rs: switch to fetchCargoVendor; use config.cudaCapability as default for cudaCapability (#359997) 2024-11-30 06:38:23 +01:00
Christina Sørensen
b422806efb
git-graph: unstable-23-01-14 -> 0.6.0 (#359806) 2024-11-30 06:32:15 +01:00
R. Ryantm
3546de54ee pappl: 1.4.7 -> 1.4.8 2024-11-30 05:09:46 +00:00
Aleksana
8ad72fe696
nixos/doc/rl-2505: add omnom (#360188) 2024-11-30 12:57:36 +08:00
R. Ryantm
a162fd2c83 oxipng: 9.1.2 -> 9.1.3 2024-11-30 04:56:46 +00:00
Aleksana
bb3c18e58d
cruft: init at 2.15.0 (#299346) 2024-11-30 12:55:10 +08:00
R. Ryantm
5a32f1dbaf mxt-app: 1.40 -> 1.41 2024-11-30 04:46:30 +00:00
Aleksana
cf833bdebf
meteo-qt: add .desktop file (#359109) 2024-11-30 12:41:44 +08:00
R. Ryantm
8f9968055f nufmt: 0-unstable-2024-10-20 -> 0-unstable-2024-11-21 2024-11-30 04:29:24 +00:00
aucub
9ae3dd3069 microsoft-identity-broker: fix hash mismatch 2024-11-30 12:10:55 +08:00
aucub
fe1d869538 microsoft-identity-broker: format 2024-11-30 12:10:28 +08:00
tomberek
4703b8d2c7
pkgs.dockertools.buildLayeredImage: customisable layering strategy (#122608) 2024-11-29 22:39:21 -05:00
nixpkgs-merge-bot[bot]
ed30be523a
melonDS: 0.9.5-unstable-2024-09-29 -> 1.0rc-unstable-2024-11-27 (#360034) 2024-11-30 03:33:54 +00:00
Aleksana
a76379e89c
Revert "zen-browser: init at 1.0.1-a.22" (#360291) 2024-11-30 11:31:56 +08:00
aleksana
cf84acca6b Revert "zen-browser: init at 1.0.1-a.22"
This reverts commit f946c505ed.
2024-11-30 11:26:04 +08:00
Franz Pletz
9a6d55f825
librewolf: 132.0.2-1 -> 133.0-1 (#360170) 2024-11-30 04:15:29 +01:00
Aleksana
fd5d1e6df1
rattler-build: init at 0.29.0 (#355402) 2024-11-30 11:14:30 +08:00
r-vdp
ad356675a8
nixos-rebuild-ng: don't repeat the keep_going argument
It is already provided by common_args, and repeating it leads to a
runtime error.
2024-11-30 12:13:03 +09:00
Aleksana
df47280e16
cwtch-ui: init at 1.15.0 (#320396) 2024-11-30 11:11:40 +08:00
Aleksana
8989584d83
zen-browser: init at 1.0.1-a.22 (#347222) 2024-11-30 11:05:55 +08:00
Aleksana
88bd81e177
gkraken,nixos/gkraken: Drop (#358200) 2024-11-30 10:54:30 +08:00
Silvan Mosberger
23a7a5d3cc
ci/check-shell: fix ci/** path (#360283) 2024-11-30 03:52:38 +01:00
Aleksana
715ce088a4
gose: init at 0.8.0 (#354159) 2024-11-30 10:51:14 +08:00
Aleksana
bcb2e3071f
enchant: fix broken release URL (#360079) 2024-11-30 10:47:06 +08:00
Aleksana
e090142219
alpaca: 2.8.0 -> 2.9.0 (#360033) 2024-11-30 10:43:37 +08:00
Zhong Jianxin
c318085efa ci/check-shell: fix ci/** path 2024-11-30 10:32:54 +08:00
R. Ryantm
3be17711c3 grpcui: 1.4.1 -> 1.4.2 2024-11-30 02:16:11 +00:00
R. Ryantm
4d39a7b8e6 cargo-tarpaulin: 0.31.2 -> 0.31.3 2024-11-30 02:06:13 +00:00
Silvan Mosberger
ea65e3038a workflows/eval: Clear unnecessary rebuild labels
Previously the labels would never be removed, even if the number of
rebuilds changed
2024-11-30 03:00:58 +01:00
Tomodachi94
69f2173cf6
maintainers: remove stnley (#360275) 2024-11-29 17:36:38 -08:00
R. Ryantm
f962636439 mpvScripts.mpv-image-viewer.equalizer: 0-unstable-2023-03-03 -> 0-unstable-2024-11-23 2024-11-30 01:31:29 +00:00
stnley
6394be51d2 maintainers: remove stnley 2024-11-29 20:20:31 -05:00
Silvan Mosberger
b3e8e251f3 workflows/eval: Make sure to compare against the push run
For PRs whose commits end up as HEAD of master like
bcc5c141bf,
there might be workflow runs associated with both PRs and pushes.

Only the push event is the one that will run fully and should be used to compare against.
So far it didn't distinguish between the two events, causing it to
sometimes pick the wrong one and then fail to download non-existent
artifacts: https://github.com/NixOS/nixpkgs/actions/runs/12092053414/job/33721377179

This commit fixes that by ensuring that the push event result is
compared against
2024-11-30 02:08:53 +01:00
Yt
962a6862f0
erigon, nodeinfo: fix tags for buildGoModule (#360030) 2024-11-29 19:43:35 -05:00
R. Ryantm
a4242293ee svd2rust: 0.33.5 -> 0.35.0 2024-11-30 00:42:43 +00:00
Robert Schütz
4278c679ea
ooniprobe-cli: 3.23.0 -> 3.24.0 (#359338) 2024-11-29 16:39:42 -08:00
R. Ryantm
8c4cc0b2c1 terraform-backend-git: 0.1.7 -> 0.1.8 2024-11-30 00:37:55 +00:00
Wolfgang
bcc5c141bf terraform-providers.vinyldns: init at 0.10.3 2024-11-30 10:07:23 +10:00
Gaetan Lepage
ef688ab1ca typstyle: 0.12.4 -> 0.12.5
Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.12.4...v0.12.5

Changelog: https://github.com/Enter-tainer/typstyle/blob/refs/tags/v0.12.5/CHANGELOG.md
2024-11-30 01:06:42 +01:00
Philip Taron
836aba1612
webdav: 5.4.3 -> 5.4.4 (#360253) 2024-11-29 15:49:15 -08:00
Philip Taron
9396352fba
lib/systems: elaborate properly with non-matching system / config / parsed args (#351608) 2024-11-29 15:48:15 -08:00
Peder Bergebakken Sundt
3b56519f50
hyprgui: 0.1.8 -> 0.1.9 (#357029) 2024-11-30 00:25:01 +01:00
R. Ryantm
50d277f9e7 kube-bench: 0.9.0 -> 0.9.2 2024-11-29 23:23:21 +00:00
jopejoe1
e16d20f2ba
nixos/version: allow overriding, use 24-bit colour code (#351736) 2024-11-29 23:04:39 +00:00
Silvan Mosberger
33cca9243a
rl-2411: lib release notes (#359887) 2024-11-30 00:03:22 +01:00
Silvan Mosberger
96a833668a
ci/check-shell: only run if shell.nix or ./ci/** is changed (#360249) 2024-11-30 00:01:10 +01:00
Fernando Rodrigues
02e1f93cb4
nixos/version: add extraOSReleaseArgs and extraLSBReleaseArgs
A free-form `attrsOf str` option that is merged with the /etc/os-release
builder, allowing downstreams to customise arbitrary os-release fields.
This is separate from the variant option, as using an attribute set
merge means one gets an infinte recursion when making extraOSReleaseArgs
a recursive set, and the variant attribute is useful to define elsewhere
or multiple times.

Ditto for /etc/lsb-release.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:58:29 -03:00
Peder Bergebakken Sundt
61d0cc13ef
python312Packages.huggingface-hub: 0.26.2 -> 0.26.3 (#359829) 2024-11-29 23:57:24 +01:00
Fernando Rodrigues
b4d7b9ade2
nixos/version: use 24-bit ANSI colour code
It's almost 2025; we don't need to use 3-bit colour anymore. Let's use
the proper colour code for NixOS' light blue:
ea1384e183/logo/README.md (colours)

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:56:30 -03:00
jopejoe1
bf5d64a130
nixos/os-release: make default_hostname distribution default (#359571) 2024-11-29 22:54:21 +00:00
Peder Bergebakken Sundt
9ba5483ef3 webdav: 5.4.3 -> 5.4.4
Diff: https://github.com/hacdias/webdav/compare/v5.4.3...v5.4.4
2024-11-29 23:53:16 +01:00
Felix Bühler
c32996b673
unigine-superposition: fix fhsenv version (#359966) 2024-11-29 23:52:19 +01:00
Thiago Kenji Okada
79a75faeb9
emulationstation-de: 2.2.1 -> 3.0.2 (#299298) 2024-11-29 22:38:24 +00:00
Jörg Thalheim
cb016f116b ci/check-shell: only run if shell.nix or ./ci/** is changed
saves a bit of CI time
2024-11-29 23:34:33 +01:00
Jörg Thalheim
82434f382c
Use GHA eval to assign rebuild labels (#359704) 2024-11-29 23:21:39 +01:00
Adrian Gierakowski
ba5a5fac7b flattenReferencesGraph: fix use of lib.fileset
mentioning non-existent file caused a ci failure: https://github.com/NixOS/nixpkgs/actions/runs/12091053669/job/33718955875?pr=122608
2024-11-29 22:18:21 +00:00
Markus Kowalewski
c9c0906085
python312Packages.rmsd: 1.5.1 -> 1.6.0 (#360054) 2024-11-29 23:16:59 +01:00
Rick van Schijndel
bc604cb912
flatpak: set meta.mainProgram (#358995) 2024-11-29 23:06:09 +01:00
Felix Bühler
da01f1f995
android-studio: fix fhsenv version (#359961) 2024-11-29 23:04:57 +01:00
Silvan Mosberger
64de6c47ca rl-2411: lib release notes 2024-11-29 23:02:14 +01:00
Adrian Gierakowski
9ae0f77577 flattenReferencesGraph: use lib.fileset instead of gitignoreSource 2024-11-29 22:02:06 +00:00
Adrian Gierakowski
266283bec3 build-support/docker: use runCommand in make-layers.nix 2024-11-29 21:59:36 +00:00
Rick van Schijndel
ada2b1255e
freebsd.libc: break into many small derivations (#359190) 2024-11-29 22:59:16 +01:00
Rick van Schijndel
c1d4a2c2c1
mutt: remove ? null from packages (#359273) 2024-11-29 22:57:34 +01:00
Jonas Chevalier
223586a617
virtualisation: Use system.build.image, normalize file names (#359339) 2024-11-29 22:54:17 +01:00
Robert Schütz
61f3a9680a nixos/prometheus.exporters.unifi: drop
The corresponding package was dropped in 826bef9b51.
2024-11-29 22:49:29 +01:00
Rick van Schijndel
e3199efe35
bluejeans-gui: drop (#360173) 2024-11-29 22:40:39 +01:00
Adrian Gierakowski
88bdfb1565 flatten_references_graph: fix typo egdes => edges 2024-11-29 21:37:38 +00:00
Colin
4a98c23fd0
mpvScripts.mpv-image-viewer: init at 0-unstable-2023-03-03 (#347323)
can be used like:

```nix
mpv.override { scripts = [ mpvScripts.mpv-image-viewer.image-positioning ]; }
```

Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
2024-11-29 21:28:33 +00:00
Silvan Mosberger
2aabd11961
ci/eval: don't allow IFD (#360225) 2024-11-29 22:16:31 +01:00
Maximilian Bosch
cf28257e4f
Merge: percona-server_8_0: 8.0.37-29 -> 8.0.39-30, percona-server: 8.4.0-1 -> 8.4.2-2 (#359824) 2024-11-29 22:16:16 +01:00
Felix Bühler
2fd0802cbf
arduino-cli: fix fhsenv version (#359959) 2024-11-29 22:14:17 +01:00
Maximilian Bosch
207dd001b4
Merge: matrix-synapse: 1.119.0 -> 1.120.0 (#359402) 2024-11-29 22:10:28 +01:00
Jörg Thalheim
5978e7fa2f ci/eval: don't allow IFD 2024-11-29 22:04:22 +01:00
Robert Schütz
dd884440df
python312Packages.kafka-python-ng: 2.2.2 -> 2.2.3 (#360223) 2024-11-29 12:58:18 -08:00
Maximilian Bosch
c055f6bc0a
nixos/mysql: fix evaluation of percona test
Commit e14483d6a6 fixed a bug in the `ini`
type with `listsAsDuplicatedKeys = true;`: multiple list declarations
weren't merged, but latter declarations shadowed the former without any
error.

The fix brought another issue to surface however: before, the
`plugin-load-add` declaration in the MySQL test shadowed the
`auth_socket.so` setting in the module. But now the attempt
to merge a list and a single declaration breaks because of
`types.either` seeing a mix of declarations from the left
AND right type.

Turning the `plugin-load-add` in the module into a list triggers the
correct merging behavior and thus fixes the evaluation error (and
merging behavior of `plugin-load-add`)!

This wasn't an issue for mysql itself (empty `plugin-load-add` in the
test) and neither for mariadb (the `auth_socket.so` isn't added for
this).
2024-11-29 21:55:49 +01:00
R. Ryantm
37715c3137 legcord: 1.0.4 -> 1.0.5 2024-11-29 20:53:45 +00:00
Artturin
2c7123c522
nagstamon: 3.14.0 -> 3.16.2 (#349714) 2024-11-29 22:53:11 +02:00
R. Ryantm
47da8867f3 python312Packages.kafka-python-ng: 2.2.2 -> 2.2.3 2024-11-29 20:39:59 +00:00
Pol Dellaiera
b9816a9ba6
treewide: remove AndersonTorres from maintainers (#360012) 2024-11-29 20:53:47 +01:00
Sefa Eyeoglu
f5e33aca67
mupen64plus: 2.5.9 -> 2.6.0 (#347487) 2024-11-29 20:53:16 +01:00
Pol Dellaiera
bb2555a094
mongoc: 1.28.0 -> 1.29.0 (#360090) 2024-11-29 20:50:19 +01:00
Pol Dellaiera
b6354e9225
pnpm: 9.14.2 -> 9.14.4 (#360139) 2024-11-29 20:45:35 +01:00
R. Ryantm
4c5015ad7d gcov2lcov: 1.1.0 -> 1.1.1 2024-11-29 19:33:32 +00:00
Thiago Kenji Okada
d3e0827671
nixos-rebuild-ng: implement --target-host (#359097) 2024-11-29 19:27:18 +00:00
aucub
2f9c22f53b bombsquad: fix hash mismatch 2024-11-30 03:16:04 +08:00
Fabian Affolter
55d1ba40f2 morf: init at 1.0.0
Offensive mobile security tool designed to identify and address
sensitive information

https://github.com/amrudesh1/morf
2024-11-29 20:14:28 +01:00
Fabian Affolter
1b02b613fa
python312Packages.aiomisc: 17.5.26 -> 17.5.29 (#359976) 2024-11-29 20:06:08 +01:00
Fabian Affolter
689cdd9c4b
python312Packages.python-can: 4.4.2 -> 4.5.0 (#359979) 2024-11-29 20:05:31 +01:00
Fabian Affolter
f89a5a2a26
python312Packages.spotifyaio: 0.8.8 -> 0.8.10 (#359981) 2024-11-29 20:05:15 +01:00
Nick Cao
2eaa53ac8c
mate.mate-terminal: fix cross compilation, format with nixfmt 2024-11-29 13:30:30 -05:00
eljamm
a344bfd09a
nixos/doc/rl-2505: add omnom 2024-11-29 19:24:01 +01:00
Franz Pletz
e3ac562312
firefox-sync-client: init at 1.8.0 (#359637) 2024-11-29 19:19:34 +01:00
Nick Cao
bf50468b8f
mate.mate-system-monitor: fix cross compilation, format with nixfmt 2024-11-29 13:18:21 -05:00
Felix Buehler
3c18c8fcc2 arduino-cli: fix fhsenv version 2024-11-29 19:16:25 +01:00
Philip Taron
a403221cb8
treewide/nixos: remove with lib; part 3 (#335623) 2024-11-29 10:10:53 -08:00
R. Ryantm
ae944e6d41 python312Packages.unstructured: 0.15.14 -> 0.16.8 2024-11-29 18:10:03 +00:00
Felix Bühler
a551c5a12e
sidequest: fix fhsenv version (#359965) 2024-11-29 19:05:09 +01:00
Felix Bühler
26981a812c
bazel_7: fix fhsenv version (#359958) 2024-11-29 19:03:51 +01:00
R. Ryantm
5de6a11a50 pragtical: 3.5.0 -> 3.5.1 2024-11-29 18:03:20 +00:00
Philip Taron
b99353c158
samba: fix broken tarball URLs (#360157) 2024-11-29 10:00:48 -08:00
Philip Taron
b61dffc48e
ant: modernize, update primary name (#360077) 2024-11-29 09:57:18 -08:00
linuxissuper
167244df67 meteo-qt: add .desktop file
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-11-29 18:57:10 +01:00
Noa Aarts
03f953d285
bluejeans-gui: remove 2024-11-29 18:53:54 +01:00
Ophestra Umiker
cdc2e32ea4
samba: fix broken tarball URLs
Samba and cifs-utils source tarballs have been silently moved to
https://download.samba.org/ without redirects.
2024-11-30 02:48:32 +09:00
Sefa Eyeoglu
01c33fb6d7
treewide: add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL (#358620) 2024-11-29 18:48:23 +01:00
Nick Cao
326602a983
mate.mate-calc: fix cross compilation, format with nixfmt 2024-11-29 12:47:18 -05:00
Fedi Jamoussi
b9da4f27d9
nixos/omnom: init module (#357830) 2024-11-29 18:34:24 +01:00
Ulrik Strid
cd2aa80f1c
ocamlPackages.sedlex: 3.2 → 3.3 (#359890) 2024-11-29 18:27:37 +01:00
Martin Weinelt
78bccf7125
python312Packages.imgcat: 0.5.0 -> 0.6.0; fix (#360142) 2024-11-29 18:26:15 +01:00
Colin
7f33274e2b
websurfx: init at 1.20.7 (#359459) 2024-11-29 17:16:14 +00:00
Franz Pletz
2a8bd1bc8c
librewolf: 132.0.2-1 -> 133.0-1 2024-11-29 18:04:07 +01:00
Colin
0589c0d364
mill: 0.12.2 -> 0.12.3 (#359491) 2024-11-29 17:03:49 +00:00
R. Ryantm
ab4517e2fc bloat: 0-unstable-2024-06-17 -> 0-unstable-2024-10-28 2024-11-29 17:01:40 +00:00
Alexander Sieg
eebd4c3b01
gitlab: 17.3.7 -> 17.5.2 2024-11-29 17:51:19 +01:00
R. Ryantm
8ee82bb6f6 restinio: 0.7.2 -> 0.7.3 2024-11-29 16:40:10 +00:00
parth
9b0e7e5e50 lockbook: init at 0.9.15 2024-11-29 11:39:12 -05:00
Weijia Wang
0eac31b715
python312Packages.tskit: 0.5.8 -> 0.6.0 (#359358) 2024-11-29 17:35:14 +01:00
Weijia Wang
785d9b39fe
amazon-cloudwatch-agent: 1.300049.1 -> 1.300050.0 (#357907) 2024-11-29 17:32:52 +01:00
Weijia Wang
3846c54866
podman: 5.3.0 -> 5.3.1 (#359117) 2024-11-29 17:32:22 +01:00
Weijia Wang
8a6e2fb470
pt2-clone: 1.70 -> 1.71 (#359495) 2024-11-29 17:31:08 +01:00
Weijia Wang
3dbf6e8399
php81Extensions.blackfire: 1.92.25 -> 1.92.28 (#359827) 2024-11-29 17:28:34 +01:00
Weijia Wang
15ae63f203
blackfire: 2.28.13 -> 2.28.20 (#359648) 2024-11-29 17:27:40 +01:00
Weijia Wang
410b2d7f07
factoriolab: 3.8.1 -> 3.8.4 (#359720) 2024-11-29 17:27:03 +01:00
nixpkgs-merge-bot[bot]
d063ad64cb
archipelago-minecraft: 0.5.0 -> 0.5.1 (#359472) 2024-11-29 16:26:25 +00:00
Weijia Wang
d3f13a2d1c
mackerel-agent: 0.82.0 -> 0.83.0 (#359337) 2024-11-29 17:25:49 +01:00
Weijia Wang
eab3a12f09
tigerbeetle: 0.16.12 -> 0.16.14 (#359386) 2024-11-29 17:25:34 +01:00
Weijia Wang
dee0bf3ba9
anilibria-winmaclinux: 2.2.20 -> 2.2.22 (#359275) 2024-11-29 17:24:48 +01:00
Weijia Wang
3896ef1df7
mtr-exporter: 0.3.0 -> 0.4.0 (#359175) 2024-11-29 17:23:18 +01:00
Weijia Wang
b32bafe364
python312Packages.inform: 1.31 -> 1.32 (#358489) 2024-11-29 17:22:25 +01:00
Weijia Wang
f8eae6bfde
python312Packages.click-odoo-contrib: 1.19 -> 1.20 (#358334) 2024-11-29 17:21:06 +01:00
Jenny
47dc99eace
phraze: 0.3.15 -> 0.3.17 (#359745) 2024-11-29 17:20:41 +01:00
Weijia Wang
4992f3d997
archi: 5.3.0 -> 5.4.3 (#342229) 2024-11-29 17:19:53 +01:00
phaer
c78003c4e0 image/images: Add image modules defined in virtualisation/ 2024-11-29 17:13:54 +01:00
phaer
0aa1319ab1 Update .git-blame-ignore-revs 2024-11-29 17:13:54 +01:00
phaer
91d74082c4 virtualisation/proxmox-lxc: use system.build.image 2024-11-29 17:13:54 +01:00
phaer
06ad3811a8 virtualisation/lxc-container: use system.build.image 2024-11-29 17:13:52 +01:00
phaer
f3563c996e virtualisation/azure-image: use system.build.image 2024-11-29 17:12:27 +01:00
phaer
77fce1dc58 virtualisation/digital-ocean: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
41db5209c7 virtualisation/google-compute: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a230d5228d virtualisation/hyperv-image: hyperv.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
6d50a8c57f virtualisation/kubevirt: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
d8410d8366 virtualisation/oci-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a0ce661c99 virtualisation/proxmox-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
342a5021df virtualisation/vagrant-virtualbox: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
6cc7449e30 virtualisation/virtualbox: virtualbox.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
b0b3a75676 virtualisation/vmware-image: vmware.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
47c83cb438 virtualisation/linode-image: Use system.build.image 2024-11-29 17:12:26 +01:00
phaer
40142caad0 format files with nixfmt 2024-11-29 17:12:26 +01:00
R. RyanTM
e6b629da27
mpvScripts.uosc: 5.6.0 -> 5.6.2 (#359802) 2024-11-29 16:09:23 +00:00
Colin
55303d50c4
python312Packages.django-rest-registration: fix build (#359565) 2024-11-29 16:05:43 +00:00
Colin
77e646f171
libblake3: 1.5.4 -> 1.5.5 (#359566) 2024-11-29 15:59:00 +00:00
nicoo
95428bab8c
Merge #359866 (mpvScripts: Use lib.packagesFromDirectoryRecursive) 2024-11-29 15:58:18 +00:00
Colin
ed307b9aac
fastly: 10.16.0 -> 10.17.0 (#359629) 2024-11-29 15:56:17 +00:00
Colin
e641109687
bibata-cursors: fix normal variant and build right-hand variant (#359604) 2024-11-29 15:56:02 +00:00
Colin
b6df5d10fa
wasm-tools: 1.220.0 -> 1.221.0 (#359634) 2024-11-29 15:47:53 +00:00
Adam C. Stephens
6de1312a38
nixos/lxc/container: fix useDhcp with veth (#358806) 2024-11-29 10:45:09 -05:00
Colin
84ace4a412
tenv: 3.1.0 -> 3.2.10 (#359661) 2024-11-29 15:40:25 +00:00
Adam C. Stephens
f50a1bd99d
nixos/lxc/container: fix useDhcp with veth
https://github.com/NixOS/nixpkgs/pull/347283 changed the default to
exclude non-physical network Kind, but that unfortunately also includes
`veth` which LXC uses for its network interfaces. Re-enable that
functionality so users can use networkd with useDHCP.
2024-11-29 10:37:14 -05:00
Colin
3ac012e7e2
crossplane-cli: 1.17.1 -> 1.18.0 (#359694) 2024-11-29 15:37:03 +00:00
Audrey Dutcher
5b0ffc8037
gettext: remove dead patch causing failures on BSDs (#360044) 2024-11-29 16:29:56 +01:00
Colin
dd363fd877
anki-sync-server: fix cross compilation (#359878) 2024-11-29 15:27:01 +00:00
Gaetan Lepage
b989e7e8ad python312Packages.imgcat: 0.5.0 -> 0.6.0
Diff: https://github.com/wookayin/python-imgcat/compare/refs/tags/v0.5.0...v0.6.0

Changelog: https://github.com/wookayin/python-imgcat/releases/tag/v0.6.0
2024-11-29 16:23:10 +01:00
Thiago Kenji Okada
7f6123b2ac
shadershark: simplify update script (#342342) 2024-11-29 15:20:00 +00:00
Thiago Kenji Okada
5436a94e65
ciscoPacketTracer{7,8}: disown (#342352) 2024-11-29 15:18:51 +00:00
misilelaboratory
ea0adc05b5
pnpm: 9.14.2 -> 9.14.4
Signed-off-by: misilelaboratory <misileminecord@gmail.com>
2024-11-29 23:59:35 +09:00
Colin
1170690e24
cloudflared: fix cross compilation (#359897) 2024-11-29 14:57:52 +00:00
Colin
db00b7e57f
bear: fix cross compilation, set strictDeps (#359880) 2024-11-29 14:55:39 +00:00
Jon Seager
c0f61fe3d4
parca-debuginfo: init at 0.11.0 2024-11-29 14:53:59 +00:00
sternenseemann
cc9e038ab7 minutor: init at 2.21.0 2024-11-29 15:53:04 +01:00
Brian McGee
be9539b794
treefmt2: 2.1.0 -> 2.1.1 (#360123) 2024-11-29 15:52:24 +01:00
Jon Seager
a23730505e
parca-agent: init at 0.35.0 2024-11-29 14:50:26 +00:00
Aleksana
04ad1f46f9
gswatcher: init at 1.7.1 (#359789) 2024-11-29 22:34:08 +08:00
Fabian Affolter
62510f7f04
python312Packages.withings-sync: 4.2.5 -> 4.2.6 (#359780) 2024-11-29 15:30:49 +01:00
Fabian Affolter
31f44e2164
python312Packages.types-awscrt: 0.23.0 -> 0.23.1 (#359778) 2024-11-29 15:30:30 +01:00
Maximilian Bosch
99b2f3707d
Merge: Nextcloud: Update apps (#360095) 2024-11-29 15:30:11 +01:00
Tristan Ross
a0559c7b2b
Release 24.11 2024-11-29 06:28:22 -08:00
Nick Cao
056ebe065a
ergo: 5.0.23 -> 5.0.24 (#360114) 2024-11-29 09:22:52 -05:00
Sefa Eyeoglu
854baca4aa
nixos/renovate: unset service restart (#359403) 2024-11-29 15:22:05 +01:00
Nick Cao
95cc099222
cargo-component: 0.17.0 -> 0.19.0 (#360119) 2024-11-29 09:21:52 -05:00
Martin Weinelt
eca5c988af
python312Packages.asteroid-filterbanks: fix tests (#360116) 2024-11-29 15:19:54 +01:00
Matthew Croughan
a4ad23a111
node-red: 4.0.4 -> 4.0.5 (#360041) 2024-11-29 14:19:26 +00:00
Ophestra Umiker
fc89c62ec7
enchant: fix broken release URL
The AbiWord fork of enchant does not contain any releases.
2024-11-29 23:18:43 +09:00
Nick Cao
96e1dd3cc9
python312Packages.growattserver: 1.5.0 -> 1.6.0 (#360057) 2024-11-29 09:17:19 -05:00
Nick Cao
c7d5bac624
python312Packages.authcaptureproxy: 1.3.2 -> 1.3.3 (#360061) 2024-11-29 09:16:16 -05:00
Nick Cao
c3329f7b0c
qadwaitadecorations-qt6: 0.1.5 -> 0.1.6 (#360063) 2024-11-29 09:15:36 -05:00
Nick Cao
45d974dfd7
python312Packages.publicsuffixlist: 1.0.2.20241127 -> 1.0.2.20241129 (#360064) 2024-11-29 09:15:15 -05:00
Nick Cao
a5141d0d56
python312Packages.python-arango: 8.1.2 -> 8.1.3 (#360067) 2024-11-29 09:14:50 -05:00
Nick Cao
2194be4193
glamoroustoolkit: 1.1.7 -> 1.1.8 (#360069) 2024-11-29 09:14:25 -05:00
Nick Cao
0255169931
python312Packages.datasette: 0.65 -> 0.65.1 (#360071) 2024-11-29 09:14:01 -05:00
Nick Cao
2ed1d21df1
python312Packages.pylint-django: 2.6.0 -> 2.6.1 (#360074) 2024-11-29 09:13:21 -05:00
Nick Cao
ff51c1beb8
c2fmzq: 0.4.22 -> 0.4.25 (#360087) 2024-11-29 09:12:40 -05:00
Nick Cao
e4647f0245
jumppad: 0.15.0 -> 0.16.0 (#360091) 2024-11-29 09:11:48 -05:00
Nick Cao
16b1fd4129
ipfs-cluster: 1.1.1 -> 1.1.2 (#360027) 2024-11-29 09:10:23 -05:00
Nick Cao
7483154982
vunnel: 0.28.0 -> 0.29.0 (#359994) 2024-11-29 09:07:32 -05:00
Nick Cao
9af3e7da9b
vkdt: 0.9.0 -> 0.9.1 (#360000) 2024-11-29 09:06:58 -05:00
Nick Cao
b67f6c616a
python312Packages.markdownify: 0.13.1 -> 0.14.1 (#360014) 2024-11-29 09:06:08 -05:00
Nick Cao
8e9268dfbb
checkov: 3.2.316 -> 3.2.322 (#359969) 2024-11-29 09:03:19 -05:00
Priyanshu Tripathi
836d207c6c
nixos-render-docs-redirects: init (#357383)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-29 15:03:08 +01:00
Nick Cao
c8089754ee
cnspec: 11.31.1 -> 11.32.0 (#359970) 2024-11-29 09:02:39 -05:00
Gaetan Lepage
8a3d41aa0f python312Packages.asteroid-filterbanks: fix tests 2024-11-29 15:02:01 +01:00
Nick Cao
db7c27acdf
exploitdb: 2024-11-16 -> 2024-11-26 (#359971) 2024-11-29 09:02:01 -05:00
Nick Cao
7a6698e0aa
python312Packages.tencentcloud-sdk-python: 3.0.1273 -> 3.0.1274 (#359972) 2024-11-29 09:01:17 -05:00
Nick Cao
7bff6409e3
python312Packages.neo4j: 5.26.0 -> 5.27.0 (#359977) 2024-11-29 08:59:58 -05:00
Nick Cao
c941d80adf
python312Packages.boto3-stubs: 1.35.29 -> 1.35.71, python312Packages.botocore-stubs: 1.35.29 -> 1.35.71 (#359978) 2024-11-29 08:59:22 -05:00
Nick Cao
76d6ef5dde
ldeep: 1.0.75 -> 1.0.76 (#359980) 2024-11-29 08:57:04 -05:00
Nick Cao
268eadc6ba
trufflehog: 3.84.0 -> 3.84.1 (#359982) 2024-11-29 08:56:20 -05:00
Nick Cao
3756c546a2
greenmask: 0.2.3 -> 0.2.5 (#359983) 2024-11-29 08:55:46 -05:00
fidgetingbits
09da4761e1
vermin: init a 1.6.0 2024-11-29 21:55:22 +08:00
Nick Cao
ad52fb854b
python312Packages.checkdmarc: 5.5.0 -> 5.7.8 (#359986) 2024-11-29 08:55:19 -05:00
Nick Cao
1cba7befa3
python312Packages.haversine: 2.8.1 -> 2.9.0 (#359987) 2024-11-29 08:54:01 -05:00
Nick Cao
2ad0246b94
python312Packages.garminconnect: 0.2.21 -> 0.2.23 (#359988) 2024-11-29 08:53:31 -05:00
Nick Cao
923fccbf92
python312Packages.halohome: 0.6.0 -> 0.7.0 (#359990) 2024-11-29 08:52:17 -05:00
Théo Bori
a5865295af
websurfx: init at 1.20.7 2024-11-29 14:39:41 +01:00
Aleksana
4a3071c613
cargo-feature: fix test failure (#359761) 2024-11-29 21:29:51 +08:00
Silvan Mosberger
2d2b2dd2e2
rl-2411: Match to release branch (#360111) 2024-11-29 14:06:04 +01:00
R. Ryantm
311ccd7dd8 cargo-component: 0.17.0 -> 0.19.0 2024-11-29 12:41:21 +00:00
R. Ryantm
b62f26270d ytdownloader: 3.18.3 -> 3.18.4 2024-11-29 12:28:58 +00:00
Gaétan Lepage
56e97be9b0
python312Packages.jupyter-ydoc: 3.0.0 -> 3.0.1 (#360109) 2024-11-29 13:16:43 +01:00
R. Ryantm
0196082f6c ergo: 5.0.23 -> 5.0.24 2024-11-29 12:10:35 +00:00
Ulrik Strid
b8d9c3b2ad
ocamlPackages.melange: init at 4.0.1-52 + 4.0.0-51 + 4.0.0-414 (#359923) 2024-11-29 12:49:56 +01:00
bloominstrong
f3d53e22f7 mupen64plus: 2.5.9 -> 2.6.0
https://github.com/mupen64plus/mupen64plus-core/blob/2.6.0/RELEASE
2024-11-29 21:46:20 +10:00
Silvan Mosberger
b4fd89b737 rl-2411: Match to release branch
This specific change was already done before the branch-off in
https://github.com/NixOS/nixpkgs/pull/346059, but
https://github.com/NixOS/nixpkgs/pull/335832 reverted it accidentally
on master after the branch-off.
2024-11-29 12:39:09 +01:00
Silvan Mosberger
300d4f73bd
release notes: Move cacheNetwork note to 25.05 (#359946) 2024-11-29 12:34:53 +01:00
Masum Reza
8f6163d138
svt-av1-psy: 2.2.1-B -> 2.3.0 (#360107) 2024-11-29 16:55:38 +05:30
Gaétan Lepage
7bcf4b31fe
typst: remove unnecessary darwin build dependencies (#360108) 2024-11-29 12:19:35 +01:00
R. Ryantm
14f8fd6e81 python312Packages.jupyter-ydoc: 3.0.0 -> 3.0.1 2024-11-29 11:17:33 +00:00
Leah Amelia Chen
cb460d69fb
gswatcher: init at 1.7.1 2024-11-29 12:14:05 +01:00
R. Ryantm
828496d1a4 svt-av1-psy: 2.2.1-B -> 2.3.0 2024-11-29 10:59:54 +00:00
Sefa Eyeoglu
1c30becbdd
depotdownloader: 2.7.3 -> 2.7.4 (#359705) 2024-11-29 11:44:12 +01:00
Matthias Beyer
d1fc66799f
git-graph: Add matthiasbeyer as maintainer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-11-29 11:41:38 +01:00
Matthias Beyer
c0f23c4e5d
git-graph: unstable-23-01-14 -> 0.6.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-11-29 11:41:32 +01:00
Gaetan Lepage
994a770924 typst: remove unnecessary darwin build dependencies 2024-11-29 11:38:36 +01:00
Matthew Croughan
49d26b7cd6
nixos/scion: fix nixosTest dates and validity period for TRCs (#360098) 2024-11-29 10:30:58 +00:00
Peder Bergebakken Sundt
5b7acac7d2
python312Packages.txtai: 7.4.0 -> 8.0.0; fix (#352153) 2024-11-29 11:30:42 +01:00
Aleksana
9483e2e635
diffpdf: fix homepage path typo in meta (#360099) 2024-11-29 18:30:15 +08:00
mcnesium
179f72ed4d
diffpdf: fix homepage path typo in meta 2024-11-29 11:26:46 +01:00
matthewcroughan
1e925a2dfd nixos/scion: fix nixosTest dates and validity period for TRCs
The validity period for TRCs cannot be set to an rfc3339 date, only an
offset from the current system time, which if set to 3650d rather than
36500d will still give us quite a long time before it becomes invalid,
which is acceptable for the time being.
2024-11-29 10:22:40 +00:00
Jörg Thalheim
14877193e2
doc/release-notes: init wiki section (#360006) 2024-11-29 11:21:45 +01:00
Doron Behar
260fe04e85
sile: 0.15.6 -> 0.15.7 (#359859) 2024-11-29 12:12:23 +02:00
Benedikt Ritter
98bbdd1246
nextcloud30Packages: update 2024-11-29 11:10:42 +01:00
Benedikt Ritter
2d7406c682
nextcloud29Packages: update 2024-11-29 11:10:32 +01:00
Benedikt Ritter
2deaa48726
nextcloud28Packages: update 2024-11-29 11:10:18 +01:00
Pavol Rusnak
6ede23a857
python312Packages.fido2: 1.1.3 -> 1.2.0 (#359632) 2024-11-29 11:07:15 +01:00
7c6f434c
c55f24450d
ogre: 14.3.1 -> 14.3.2 (#359709) 2024-11-29 10:06:16 +00:00
Fabian Affolter
32d6f52008 mqtt-randompub: init at 0.2.2
Tool that sends random MQTT messages to random topics

https://github.com/fabaff/mqtt-randompub
2024-11-29 11:02:17 +01:00
Matthew Croughan
1f33e2a756
nixos/cupsd: Fix permissions on shared directories (#360022) 2024-11-29 10:02:11 +00:00
aleksana
a1ed423d07 jogger: 1.2.4-unstable-2024-04-05 -> 1.2.5 2024-11-29 17:57:09 +08:00
R. Ryantm
8e750424b4 jumppad: 0.15.0 -> 0.16.0 2024-11-29 09:46:58 +00:00
Michele Guerini Rocco
a5fb96baf0
vapoursynth: fix darwin build (#359263) 2024-11-29 10:41:56 +01:00
R. Ryantm
be84d0bc44 mongoc: 1.28.0 -> 1.29.0 2024-11-29 09:36:13 +00:00
R. Ryantm
bdf1baf684 c2fmzq: 0.4.22 -> 0.4.25 2024-11-29 09:25:48 +00:00
Pol Dellaiera
0d739c9456
php84Extensions.xdebug: remove broken flag (#360084) 2024-11-29 10:19:48 +01:00
Piotr Kwiecinski
65517c04a4
php84Extensions.xdebug: remove broken flag
Versions 3.4.0 and up are compatible with php 8.4
2024-11-29 10:16:09 +01:00
Aleksana
43d34c4e96
bfg-repo-cleaner: format with nixfmt-rfc-style and add passthru.tests.version (#357491) 2024-11-29 17:13:52 +08:00
Aleksana
14147f11da
fishnet: format with nixfmt-rfc-style and add passthru.tests.version (#357516) 2024-11-29 17:13:31 +08:00
Aleksana
e1c06e7f84
.github/labeler.yml: add ruby label for gem changes (#357031) 2024-11-29 17:12:34 +08:00
Aleksana
63863a8847
nb: add passthru.tests.version and updateScript (#356342) 2024-11-29 17:10:38 +08:00
Aleksana
ba80e23a74
act: add passthru.tests.version (#356374) 2024-11-29 17:10:16 +08:00
Aleksana
0ea2d3a446
ghq: add passthru.tests.version and updateScript (#356244) 2024-11-29 17:09:55 +08:00
Aleksana
dff42fc1b8
acr-cli: init at 0.14 (#359508) 2024-11-29 17:00:15 +08:00
Gaetan Lepage
b860c30ef8 python312Packages.llama-index-vector-stores-postgres: relax pgvector dependency version 2024-11-29 09:51:45 +01:00
Aleksana
84dafe5c5d
archimede: init at 0.0.2 (#355257) 2024-11-29 16:50:26 +08:00
Victor Engmark
7389d32232
nixos/cupsd: Fix permissions on shared directories
`/var/cache`, `/var/lib`, and `/var/spool` all have 0755 permissions by
default, so should probably be created as such in this script.

See #357447 for discussion.
2024-11-29 21:50:04 +13:00
Gaetan Lepage
22a3deafee python312Packages.pgvector: 0.2.4 -> 0.3.6
Diff: https://github.com/pgvector/pgvector-python/compare/refs/tags/v0.2.4...v0.3.6

Changelog: https://github.com/pgvector/pgvector-python/blob/refs/tags/v0.3.6/CHANGELOG.md
2024-11-29 09:46:29 +01:00
Gaetan Lepage
cd6c2bc48f python312Packages.txtai: 7.4.0 -> 8.0.0
Diff: https://github.com/neuml/txtai/compare/refs/tags/v7.4.0...v8.0.0

Changelog: https://github.com/neuml/txtai/releases/tag/v8.0.0
2024-11-29 09:46:29 +01:00
Aleksana
53f77a5620
rider: add avalonia libs needed for dotMemory (#348338) 2024-11-29 16:46:27 +08:00
Aleksana
1f197e6da2
ponysay: fix SyntaxWarning (#357413) 2024-11-29 16:37:24 +08:00
Aleksana
44a426a44f
tesh: fix build (#357625) 2024-11-29 16:35:21 +08:00
Aleksana
6fb81c30b5
cargo-deb: fix build failure (#359774) 2024-11-29 16:33:00 +08:00
R. Ryantm
e43ca6ae77 python312Packages.pylint-django: 2.6.0 -> 2.6.1 2024-11-29 08:27:21 +00:00
Aleksana
130f661d36
bluej: move to by-name, with lib; cleanup, RFC format (#356009) 2024-11-29 16:25:57 +08:00
Aleksana
a9464b38c3
rainfrog: add passthru.tests.version (#357443) 2024-11-29 16:23:52 +08:00
Aleksana
299f7c8d48
nodemon: fix package meta (#359572) 2024-11-29 16:21:57 +08:00
Aleksana
fb9e5b1059
activitywatch: add meta.mainProgram (#359809) 2024-11-29 16:21:29 +08:00
Aleksana
a68d0d6c2b
caf: apply formatting (#352592) 2024-11-29 16:19:56 +08:00
Aleksana
a7c0f23bd6
maintainers: remove email for amuckstot30 (#360059) 2024-11-29 16:18:46 +08:00
Aleksana
7d5c030bdf
foliate: 3.1.1 -> 3.2.0 (#359860) 2024-11-29 16:13:02 +08:00
R. Ryantm
b04ca6b759 python312Packages.datasette: 0.65 -> 0.65.1 2024-11-29 08:10:45 +00:00
R. Ryantm
b0bb6ea985 glamoroustoolkit: 1.1.7 -> 1.1.8 2024-11-29 08:09:12 +00:00
Peder Bergebakken Sundt
cf88138cad
python312Packages.python-socketio; onionshare: fix on darwin (#359885) 2024-11-29 09:06:27 +01:00
R. Ryantm
38260c284c python312Packages.python-arango: 8.1.2 -> 8.1.3 2024-11-29 07:57:41 +00:00
Gaétan Lepage
564e219aa5
python312Packages.nanobind: 2.1.0 -> 2.2.0 (#358621) 2024-11-29 08:47:56 +01:00
Fabian Affolter
cafc21fb16 python312Packages.glances-api: 0.8.0 -> 0.9.0
Diff: https://github.com/home-assistant-ecosystem/python-glances-api/compare/refs/tags/0.8.0...0.9.0

Changelog: https://github.com/home-assistant-ecosystem/python-glances-api/releases/tag/0.9.0
2024-11-29 08:27:32 +01:00
nixpkgs-merge-bot[bot]
6f48feb653
ignite-cli: 28.5.3 -> 28.6.0 (#359488) 2024-11-29 07:13:02 +00:00
Fabian Affolter
614d709921 python312Packages.publicsuffixlist: 1.0.2.20241127 -> 1.0.2.20241129
Changelog: https://github.com/ko-zu/psl/blob/v1.0.2.20241129-gha/CHANGES.md
2024-11-29 08:10:14 +01:00
Gaétan Lepage
20b02e33c9
nvrh: 0.1.14 -> 0.1.15 (#360036) 2024-11-29 08:01:20 +01:00
R. Ryantm
d566f2494f qadwaitadecorations-qt6: 0.1.5 -> 0.1.6 2024-11-29 06:52:03 +00:00
R. Ryantm
5d55f09c22 python312Packages.authcaptureproxy: 1.3.2 -> 1.3.3 2024-11-29 06:48:06 +00:00
amuckstot30
1b5237a9bd maintainers: remove email for amuckstot30 2024-11-29 07:47:37 +01:00
Fabian Affolter
bb9af90bf2
python312Packages.google-cloud-datacatalog: 3.21.0 -> 3.23.0 (#359790) 2024-11-29 07:47:21 +01:00
Fabian Affolter
2099a8d7cc
python311Packages.graphrag: 0.3.6 -> 0.5.0 (#359792) 2024-11-29 07:47:07 +01:00
Fabian Affolter
01c1cbeea2
python312Packages.pytest-codspeed: fix typo (#359793) 2024-11-29 07:46:53 +01:00
Christina Sørensen
c688c75483
eza: 0.20.9 -> 0.20.10 (#359760) 2024-11-29 07:42:26 +01:00
Christina Sørensen
fb08995413
pbpctrl: 0.1.6 -> 0.1.7 (#359291) 2024-11-29 07:41:51 +01:00
K900
b402ee4285
breakpad: 2023.01.27 -> 2023.06.01 (#359529) 2024-11-29 09:38:47 +03:00
K900
769f42e45a
mumble-overlay: just build it the upstream way (#359620) 2024-11-29 09:38:34 +03:00
R. Ryantm
4feee53847 python312Packages.growattserver: 1.5.0 -> 1.6.0 2024-11-29 06:25:01 +00:00
R. Ryantm
e892b41187 python312Packages.rmsd: 1.5.1 -> 1.6.0 2024-11-29 06:01:41 +00:00
toastal
6832176666
nginxModules.subsFilter: 2022-01-24 (#359905)
Fixes issues with newer PCRE
2024-11-29 06:45:48 +01:00
Pol Dellaiera
bd06cd59e9
php84Extensions.xdebug: 3.3.2 -> 3.4.0 (#360049) 2024-11-29 06:41:51 +01:00
R. Ryantm
65d311a745 php84Extensions.xdebug: 3.3.2 -> 3.4.0 2024-11-29 05:06:20 +00:00
R. Ryantm
abf234f409 sgt-puzzles: 20240928.182b3d9 -> 20241123.5e74004 2024-11-29 15:22:57 +11:00
R. Ryantm
33e47243a2 node-red: 4.0.4 -> 4.0.5 2024-11-29 04:11:12 +00:00
PerchunPak
7e027363e2
python3Packages.cruft: init at 2.15.0 2024-11-29 04:58:31 +01:00
R. Ryantm
d1d6226258 nvrh: 0.1.14 -> 0.1.15 2024-11-29 03:48:19 +00:00
unrooted
7946623149 chainsaw 2.9.2 -> 2.10.1 2024-11-29 04:37:01 +01:00
R. Ryantm
aabf3a0c61 melonDS: 0.9.5-unstable-2024-09-29 -> 1.0rc-unstable-2024-11-27 2024-11-29 03:26:35 +00:00
Gliczy
f3f3a3eee0 alpaca: 2.8.0 -> 2.9.0 2024-11-29 04:19:43 +01:00
Yueh-Shun Li
3afd26366a nodeinfo: fix tags (should be a list) 2024-11-29 10:59:10 +08:00
Yueh-Shun Li
4b39e819bf erigon: fix tags
`tags` should be specified as a list of elements to form `-tags=e1,e2`,
not the `-tags=e1,e2` flag string itself.
2024-11-29 10:58:14 +08:00
Aleksana
fec9222abf
folio: 24.12 -> 24.13 (#359558) 2024-11-29 10:55:13 +08:00
Aleksana
2adb5faba2
lla: init at 0.2.9 (#359293) 2024-11-29 10:53:36 +08:00
R. Ryantm
b0fb9d547c ipfs-cluster: 1.1.1 -> 1.1.2 2024-11-29 02:41:50 +00:00
R. RyanTM
39a078a3ef
python312Packages.mss: 9.0.2 -> 10.0.0 (#359644)
https://github.com/BoboTiG/python-mss/blob/v10.0.0/CHANGELOG.md?rgh-link-date=2024-11-27T18%3A33%3A05Z
2024-11-29 03:09:04 +01:00
Masum Reza
5aa819d0e0
pegasus-frontend: update 0-unstable-2023-12-05 -> 0-unstable-2024-11-11 (#359306) 2024-11-29 07:17:28 +05:30
Tomodachi94
0b87b1feb6 ant: use finalAttrs 2024-11-29 01:31:04 +00:00
Tomodachi94
acf1b4900e .git-blame-ignore-revs: add 2538d58436 2024-11-29 01:31:04 +00:00
Tomodachi94
2538d58436 ant: format with nixfmt-rfc-style
Also:
* Remove a stray unused comment
2024-11-29 01:19:02 +00:00
Tomodachi94
4f2b642f6c apacheAnt: make ant the primary name
apacheAnt is unused in the tree; `ant` is more commonly used.
2024-11-29 01:19:02 +00:00
Emily Trau
5b9f28cf6e
proxmark3: 4.18994 -> 4.19552 (#358172) 2024-11-29 08:54:47 +08:00
Silvan Mosberger
d60e537249
release notes: Move agorakit to 25.05 (#359942)
release notes: Move agorakit to 2505

It's not included in 2411
2024-11-29 01:37:13 +01:00
R. Ryantm
913dffe34c python312Packages.markdownify: 0.13.1 -> 0.14.1 2024-11-29 00:24:47 +00:00
Anderson Torres
e7387f290c treewide: remove AndersonTorres from maintainers 2024-11-28 21:12:42 -03:00
Jenny
95dbdbbd9a
gnmic: fix version reporting (#359655) 2024-11-29 01:03:46 +01:00
Sandro
1d62a85ff5
nixos/mailman: add option to expand the uwsgi settings (#333315) 2024-11-29 00:53:55 +01:00
R. Ryantm
970e93b9f8 terraform-providers.doppler: 1.11.0 -> 1.12.0 2024-11-29 09:45:21 +10:00
R. Ryantm
f8b32a4921 terraform-providers.yandex: 0.130.0 -> 0.133.0 2024-11-29 09:45:06 +10:00
R. Ryantm
199ab2b321 terraform-providers.mongodbatlas: 1.21.1 -> 1.22.0 2024-11-29 09:44:55 +10:00
Volker Diels-Grabsch
97d45f98f2 ocamlPackages.melange: init at 4.0.1-52 + 4.0.0-51 + 4.0.0-414 2024-11-29 00:43:31 +01:00
seth
319cef6187 doc/release-notes: init wiki section 2024-11-28 18:26:40 -05:00
Marco Rebhan
6399331a25
nix-plugin-pijul: 0.1.4 -> 0.1.5 2024-11-29 00:16:56 +01:00
Gaétan Lepage
522d5d85db
python312Packages.qcodes: 0.50.0 -> 0.50.1 (#359828) 2024-11-29 00:09:51 +01:00
Cosima Neidahl
42e77274c8
lomiri.lomiri-url-dispatcher: Fix libexec binary location in services (#359687) 2024-11-29 00:06:31 +01:00
Gaetan Lepage
d61106e509 onionshare: add update script 2024-11-28 23:50:46 +01:00
R. Ryantm
421aafb453 vkdt: 0.9.0 -> 0.9.1 2024-11-28 22:47:09 +00:00
Gaetan Lepage
64f6de59cc mistral-rs: switch to fetchCargoVendor 2024-11-28 23:28:30 +01:00
Fabian Affolter
bfff65c1e5 python312Packages.jh2: init at 5.0.4
HTTP/2 State-Machine based protocol implementation

https://github.com/jawah/h2
2024-11-28 23:19:59 +01:00
Fabian Affolter
2b1e9f0252 python312Packages.aiowmi: init at 0.2.3
Python WMI Queries

https://github.com/cesbit/aiowmi
2024-11-28 23:16:19 +01:00
Gaetan Lepage
665fcc80ea onionshare: fix on darwin 2024-11-28 23:15:57 +01:00
Gaetan Lepage
0b75c4e176 onionshare: move to by-name; refactor 2024-11-28 23:15:57 +01:00
Robert Schütz
02fe29395d
python312Packages.aemet-opendata: 0.5.5 -> 0.6.3 (#359663) 2024-11-28 14:15:04 -08:00
Fabian Affolter
3c268106ae vunnel: 0.28.0 -> 0.29.0
Diff: https://github.com/anchore/vunnel/compare/refs/tags/v0.28.0...v0.29.0

Changelog: https://github.com/anchore/vunnel/releases/tag/v0.29.0
2024-11-28 23:11:22 +01:00
Fabian Affolter
51c0f230d5 python312Packages.halohome: 0.6.0 -> 0.7.0
Diff: https://github.com/nayaverdier/halohome/compare/refs/tags/0.6.0...0.7.0

Changelog: https://github.com/nayaverdier/halohome/blob/0.7.0/CHANGELOG.md
2024-11-28 23:02:22 +01:00
Fabian Affolter
171142d09c python312Packages.checkdmarc: 5.5.0 -> 5.7.8
Changelog: https://github.com/domainaware/checkdmarc/blob/5.7.8/CHANGELOG.md
2024-11-28 23:00:13 +01:00
Fabian Affolter
504fcfb198 python312Packages.haversine: 2.8.1 -> 2.9.0
Diff: https://github.com/mapado/haversine/compare/refs/tags/v2.8.1...v2.9.0

Changelog: https://github.com/mapado/haversine/blob/v2.9.0/CHANGELOG.md
2024-11-28 22:55:35 +01:00
Sergei Trofimovich
d584552796 diffstat: add a trivial updater 2024-11-28 22:55:04 +01:00
Sergei Trofimovich
5706049cf6 diffstat: 1.66 -> 1.67
Changes: https://invisible-island.net/diffstat/CHANGES.html#t20241111
2024-11-28 22:55:04 +01:00
Fabian Affolter
bc05d768e3 python312Packages.garminconnect: 0.2.21 -> 0.2.23
Diff: https://github.com/cyberjunky/python-garminconnect/compare/refs/tags/0.2.21...0.2.23

Changelog: https://github.com/cyberjunky/python-garminconnect/releases/tag/0.2.23
2024-11-28 22:54:47 +01:00
Fabian Affolter
b3e8cfc28b greenmask: 0.2.3 -> 0.2.5
Diff: https://github.com/GreenmaskIO/greenmask/compare/refs/tags/v0.2.3...v0.2.5

Changelog: https://github.com/GreenmaskIO/greenmask/releases/tag/v0.2.5
2024-11-28 22:52:44 +01:00
Fabian Affolter
3e3d4ca65a trufflehog: 3.84.0 -> 3.84.1
Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.84.0...v3.84.1

Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.84.1
2024-11-28 22:50:51 +01:00
Fabian Affolter
8d41c90145 ldeep: 1.0.75 -> 1.0.76
Diff: https://github.com/franc-pentest/ldeep/compare/refs/tags/1.0.75...1.0.76

Changelog: https://github.com/franc-pentest/ldeep/releases/tag/1.0.76
2024-11-28 22:47:13 +01:00
Fabian Affolter
95a92c0429 python312Packages.spotifyaio: 0.8.8 -> 0.8.10
Diff: https://github.com/joostlek/python-spotify/compare/refs/tags/v0.8.8...v0.8.10

Changelog: https://github.com/joostlek/python-spotify/releases/tag/v0.8.10
2024-11-28 22:46:43 +01:00
Fabian Affolter
69eb494e68 python312Packages.python-can: 4.4.2 -> 4.5.0
Diff: https://github.com/hardbyte/python-can/compare/refs/tags/v4.4.2...v4.5.0

Changelog: https://github.com/hardbyte/python-can/releases/tag/v4.5.0
2024-11-28 22:45:15 +01:00
Gaetan Lepage
c2c53cb7b1 onionshare: format 2024-11-28 22:43:02 +01:00
Fabian Affolter
3b6448baa5 python312Packages.neo4j: 5.26.0 -> 5.27.0
Diff: https://github.com/neo4j/neo4j-python-driver/compare/refs/tags/5.26.0...5.27.0

Changelog: https://github.com/neo4j/neo4j-python-driver/releases/tag/5.27.0
2024-11-28 22:41:16 +01:00
Victor Engmark
bfe7bb410f nixos/printing: fix ShellCheck issues
ShellCheck reports the following:

> SC2174 (warning): When used with -p, -m only applies to the deepest
> directory.

Avoid this warning by splitting `mkdir -m MODE -p DIR` into
`(umask MASK && mkdir -p DIR)`.
2024-11-28 22:41:11 +01:00
Fabian Affolter
dfb9a94013 python312Packages.botocore-stubs: 1.35.29 -> 1.35.71 2024-11-28 22:40:20 +01:00
Fabian Affolter
81684eba3f python312Packages.boto3-stubs: 1.35.29 -> 1.35.71 2024-11-28 22:40:16 +01:00
Pol Dellaiera
eeab2e4e5e
phpactor: 2024.11.05.0 -> 2024.11.28.0 (#359939) 2024-11-28 22:36:51 +01:00
Pol Dellaiera
70b1a96bf5
n98-magerun2: 7.4.0 -> 7.5.0 (#359963) 2024-11-28 22:35:51 +01:00
Fabian Affolter
49c8101b6f python312Packages.aiomisc: 17.5.26 -> 17.5.29
Changelog: https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md
2024-11-28 22:35:05 +01:00
Fabian Affolter
2f682051a9 python312Packages.tencentcloud-sdk-python: 3.0.1273 -> 3.0.1274
Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1273...3.0.1274

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1274/CHANGELOG.md
2024-11-28 22:33:45 +01:00
Fabian Affolter
3ebbc67763 cnspec: 11.31.1 -> 11.32.0
Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v11.31.1...v11.32.0

Changelog: https://github.com/mondoohq/cnspec/releases/tag/v11.32.0
2024-11-28 22:32:51 +01:00
Fabian Affolter
572df3a233 exploitdb: 2024-11-16 -> 2024-11-26
Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2024-11-16...2024-11-26
2024-11-28 22:32:46 +01:00
Fabian Affolter
2330454c04 checkov: 3.2.316 -> 3.2.322
Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.316...3.2.322

Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.322
2024-11-28 22:31:40 +01:00
Felix Buehler
8d4851c6f2 unigine-superposition: fix fhsenv version 2024-11-28 22:24:37 +01:00
Silvan Mosberger
af1aa40e73 workflows/eval.yml: Run on dev branch pushes and apply rebuild labels 2024-11-28 22:24:23 +01:00
Felix Buehler
d2a0baa169 sidequest: fix fhsenv version 2024-11-28 22:23:24 +01:00
Felix Buehler
e62e20249f android-studio: fix fhsenv version 2024-11-28 22:11:17 +01:00
Pol Dellaiera
73b6cbce5c
php81Packages.phpstan: 1.11.8 -> 2.0.2 (#359957) 2024-11-28 22:10:14 +01:00
R. Ryantm
3c02da2176 n98-magerun2: 7.4.0 -> 7.5.0 2024-11-28 21:07:25 +00:00
Felix Buehler
543abba9d0 bazel_7: fix fhsenv version 2024-11-28 22:06:30 +01:00
R. Ryantm
115b31f2a3 php81Packages.phpstan: 1.11.8 -> 2.0.2 2024-11-28 20:56:18 +00:00
Pol Dellaiera
ff3faba639
vscode-extensions.visualjj.visualjj: 0.12.5 -> 0.13.0 (#359956) 2024-11-28 21:55:26 +01:00
Sandro
43b7d77530
python312Packages.spsdk: 2.2.1 -> 2.4.0 (#359513) 2024-11-28 21:48:05 +01:00
Silvan Mosberger
edd47f7c85
nixfmt-rfc-style: 2024-08-16 -> 2024-11-26 (#359904)
Changes:
- https://github.com/NixOS/nixfmt/pull/233 and
  https://github.com/NixOS/nixfmt/pull/257 fix the poor formatting of
  `mkRenamedOptionModule` code.
- https://github.com/NixOS/nixfmt/pull/240 deprecates passing
  directories as CLI args, instead using
  [treefmt](https://github.com/numtide/treefmt) is recommended.
- https://github.com/NixOS/nixfmt/pull/246 fixes some problems with
  floats.
- https://github.com/NixOS/nixfmt/pull/247 fixes trailing spaces not
  always being stripped.
- https://github.com/NixOS/nixfmt/pull/248 ensures that the ownership of
  files isn't changed when formatting them.
- https://github.com/NixOS/nixfmt/pull/249 fixes some poor formatting of
  some attribute selections.
- https://github.com/NixOS/nixfmt/pull/262 ensures that 64-bit integers
  don't get trimmed on 32-bit platforms.
- https://github.com/NixOS/nixfmt/pull/264 adds a `--filename` flag to
  allow setting the filename in error messages when formatting standard input.
- https://github.com/NixOS/nixfmt/pull/243 added
  [installation and integration docs](https://github.com/NixOS/nixfmt?tab=readme-ov-file#installation-and-usage-instructions).
- https://github.com/NixOS/nixfmt/pull/238 created a
  [`.pre-commit-hooks.yaml`](https://github.com/NixOS/nixfmt/blob/master/.pre-commit-hooks.yaml)
  for integration with [pre-commit](https://pre-commit.com/)
2024-11-28 21:45:40 +01:00
Pol Dellaiera
47048ebe1e vscode-extensions.visualjj.visualjj: 0.12.5 -> 0.13.0 2024-11-28 21:45:16 +01:00
Sandro
e72faf8015
level-zero: 1.18.3 -> 1.19.2 (#359682) 2024-11-28 21:39:42 +01:00
Pol Dellaiera
c8bacdae50
php81Packages.grumphp: 2.6.0 -> 2.9.0 (#359926) 2024-11-28 21:36:43 +01:00
Pol Dellaiera
6a134c9a35
vscode-extensions.github.copilot: 1.243.1191 -> 1.246.1233 (#359947) 2024-11-28 21:36:12 +01:00
Pol Dellaiera
ae933cb7df vscode-extensions.github.copilot: 1.243.1191 -> 1.246.1233 2024-11-28 21:16:51 +01:00
Silvan Mosberger
c8aeacd0ae release notes: Move cacheNetwork note to 25.05
It's not included in 24.11
2024-11-28 21:13:14 +01:00
Tristan Ross
30ccc85dd9
README: Update to 24.11 2024-11-28 12:12:30 -08:00
h7x4
12cadcb077
formats.libconfig: add support for dashes (#359308) 2024-11-28 21:11:50 +01:00
Fabian Affolter
02d838abb9
python312Packages.influxdb3-python: 0.9.0 -> 0.10.0 (#359619) 2024-11-28 21:03:14 +01:00
Jan Tojnar
acd9b02b6d webkitgtk_6_0: 2.46.3 → 2.46.4
https://github.com/WebKit/WebKit/compare/webkitgtk-2.46.3...webkitgtk-2.46.4
https://webkitgtk.org/security/WSA-2024-0007.html
https://webkitgtk.org/2024/11/27/webkitgtk2.46.4-released.html

CVE-2024-44308, CVE-2024-44309
2024-11-28 20:59:20 +01:00
R. Ryantm
99d776a64c phpactor: 2024.11.05.0 -> 2024.11.28.0 2024-11-28 19:57:36 +00:00
Gaétan Lepage
dabd3bd5fa
basedpyright: 1.21.1 -> 1.22.0 (#359715) 2024-11-28 20:50:48 +01:00
Gaetan Lepage
875cba81ba python312Packages.python-socketio: add __darwinAllowLocalNetworking 2024-11-28 20:44:42 +01:00
Sandro
3380c823c9
linuxPackages.openafs: Patch for Linux kernel 6.12 (#358842) 2024-11-28 20:25:31 +01:00
Sandro
51fcc9d335
mysql-shell{,_8,-innovation}: format with nixfmt (#358604) 2024-11-28 20:24:35 +01:00
Sandro
6dfdf6749f
trunk-io: 1.3.2 -> 1.3.4 (#358302) 2024-11-28 20:22:17 +01:00
jopejoe1
efd30bb7bc
step-ca: 0.27.5 -> 0.28.0 (#357083) 2024-11-28 19:17:47 +00:00
kirillrdy
c39f3576f4
gf: unstable-2023-08-09 -> 0-unstable-2024-08-21; include extensions and add plugin support (#357435) 2024-11-29 06:16:26 +11:00
jopejoe1
8cad8436de
rainfrog: 0.2.9 -> 0.2.10 (#357442) 2024-11-28 19:06:36 +00:00
Austin Horstman
4b8921fde4
tesseract: 5.3.4 -> 5.5.0 (#353902) 2024-11-28 13:06:03 -06:00
Dmitry Kalinkin
b71f4a89a4
python312Packages.fastnlo-toolkit: fix build (#359805) 2024-11-28 14:05:37 -05:00
R. Ryantm
265b3aa46a php81Packages.grumphp: 2.6.0 -> 2.9.0 2024-11-28 19:04:09 +00:00
jopejoe1
017d88ec83
waypipe: 0.9.1 -> 0.9.2 (#357168) 2024-11-28 18:59:42 +00:00
jopejoe1
7904efb866
amiri: 1.000 -> 1.001 (#357329) 2024-11-28 18:58:20 +00:00
jopejoe1
892247b9b8
ncdu: 2.6 -> 2.7 (#357479) 2024-11-28 18:42:52 +00:00
jopejoe1
251e822f97
notepad-next: 0.8 -> 0.9 (#357598) 2024-11-28 18:37:29 +00:00
jopejoe1
6bf4c9b790
seclists: 2024.3 -> 2024.4 (#357660) 2024-11-28 18:35:18 +00:00
Volker Diels-Grabsch
ac0c0e1c33 maintainers: add vog 2024-11-28 19:28:47 +01:00
Bruno BELANYI
1fdd6dfe48 firefox-sync-client: init at 1.8.0 2024-11-28 18:23:38 +00:00
Artturin
58cca6e009
discord: add pipewire to fix screensharing; discord-canary: 0.0.527 -> 0.0.528 (#359666) 2024-11-28 20:22:23 +02:00
Matthew Penner
f946c505ed
zen-browser: init at 1.0.1-a.22
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-11-28 11:22:16 -07:00
Sandro
521bba39df
croc: 10.1.0 -> 10.1.1 (#359896) 2024-11-28 19:21:50 +01:00
Matthew Penner
b99959d762
maintainers: remove keys from matthewpi
I use SSH keys to sign all my commits, but there is no section or
property for listing those for maintainers. To avoid confusion I'm
removing my unused GPG keys.

Signed-off-by: Matthew Penner <me@matthewp.io>
2024-11-28 11:21:33 -07:00
Felix Buehler
07894f4f30 nixos/services.stunnel: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
93d6b8180e nixos/services.oink: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2d4a4c110a nixos/services.nylon: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2bf4393a9b nixos/networking.nftables: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
83cc2cd01f nixos/services.nebula: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e14d1dc198 nixos/services.ncdns: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e4ffb753b1 nixos/services.glusterfs: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
4dbf3a75ae nixos/services.drbd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
44985668d8 nixos/services.diod: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
a9748cc118 nixos/services.cachefilesd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
5f44beaebb nixos/services.watchdogd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
e8e5c6c79b nixos/services.vnstat: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
cc88c367bb nixos/services.uptime-kuma: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
6974870a0a nixos/services.tuptime: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
307f280e81 nixos/services.tremor-rs: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
851d23320b nixos/services.telegraf: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
8eb355e978 nixos/services.sysstat: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
8b8b523eb9 nixos/services.statsd: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
084011a1b4 nixos/services.smartd: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
b3796eddc4 nixos/services.scollector: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
a7f917375f nixos/services.riemann: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
36b176c8e3 nixos/services.riemann-tools: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
9f025e3df5 nixos/services.riemann-dash: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
4f47314003 nixos/services.prometheus.xmpp-alerts: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
f9825ae100 nixos/services.prometheus.sachet: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
3b6ddc5927 nixos/services.prometheus.pushgateway: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
ea4bd53274 nixos/services.prometheus.alertmanager: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
951787fba3 nixos/services.prometheus.alertmanagerWebhookLogger: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
c617a4cb83 nixos/services.prometheus.alertmanagerIrcRelay: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
500c84cedd nixos/services.osquery: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
f88528a137 nixos/services.netdata: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler
c93d8f88a7 nixos/services.nagios: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
34970fdcf3 nixos/services.munin-[cron,node]: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
faf7fde49e nixos/services.monit: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
5419e3778f nixos/services.mackerel-agent: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
56bd2c2da6 nixos/services.longview: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
9353cb1b74 nixos/services.kthxbye: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
1e44f5e3df nixos/services.karma: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
588c1c985b nixos/services.kapacitor: remove with lib; 2024-11-28 19:08:38 +01:00
Felix Buehler
5b48323837 nixos/services.incron: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
baece5fb08 nixos/services.heapster: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
95e5f256d6 nixos/services.hdapsd: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
8f9336460b nixos/services.grafana_reporter: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
f1019c7adb nixos/services.grafana-image-renderer: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
e86917ad30 nixos/services.grafana-agent: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
69dd091d51 nixos/services.fusionInventory: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
699ee515a1 nixos/services.do-agent: remove with lib; 2024-11-28 19:08:37 +01:00
Felix Buehler
4bfa9c3f97 nixos/services.datadog-agent: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
357422f21b nixos/services.das_watchdog: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
c39797b55e nixos/services.collectd: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
5ced735a89 nixos/services.cadvisor: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
278fc7501c nixos/services.bosun: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
66ea353e1c nixos/services.below: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
7123ef8458 nixos/services.arbtt: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
3fa1cc4f5f nixos/services.apcupsd: remove with lib; 2024-11-28 19:08:36 +01:00
Felix Buehler
03ba605ab0 nixos/services.alloy: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
44990e93c3 nixos/services.alerta: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
59a4e8349e nixos/services.zookeeper: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
f8b0d3a756 nixos/services.xmrig: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
fe175fe575 nixos/services.weechat: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
43e70943da nixos/services.uhub: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
b04e01279b nixos/services.tzupdate: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
f89578e797 nixos/programs.tuxclocker: remove with lib; 2024-11-28 19:08:35 +01:00
Felix Buehler
11904bba73 nixos/services.tp-auto-kbbl: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
d279b64dc1 nixos/services.tiddlywiki: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
2ecc659ae8 nixos/services.tautulli: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
cc25de02a5 nixos/services.tandoor-recipes: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
334d6eb492 nixos/services.synergy: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
165ad257f7 nixos/services.svnserve: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
07819ffd98 nixos/services.sundtek: remove with lib; 2024-11-28 19:08:34 +01:00
Felix Buehler
5adb3502aa nixos/services.subsonic: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
269e2407e9 nixos/services.sssd: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
4a435c16d2 nixos/services.spice-webdavd: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
e4c0bdd97f nixos/services.spice-vdagentd: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
7abfa8873a nixos/services.sonarr: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
b84a9d0112 nixos/services.soft-serve: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
288a627154 nixos/services.siproxd: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
2a8d189e9b nixos/services.signald: remove with lib; 2024-11-28 19:08:33 +01:00
Felix Buehler
e593a4c094 nixos/services.sickbeard: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
1b4c241f80 nixos/services.serviio: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
1bf69e64ec nixos/services.sdrplayApi: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
1d3ea1dbe5 nixos/services.safeeyes: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
e3f2e1c9fb nixos/services.rmfakecloud: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
724f15d7d8 nixos/services.rkvm: remove with lib; 2024-11-28 19:08:32 +01:00
Felix Buehler
0280cad999 nixos/services.rippleDataApi: remove with lib; 2024-11-28 19:08:32 +01:00
jopejoe1
aa912dbb95
factorio-mods: drop (#359695) 2024-11-28 17:57:46 +00:00
Doron Behar
0ed2ac3ee5 sile: build with luajit by default 2024-11-28 19:37:17 +02:00
Ilan Joselevich
c7c136a610
kanidm: allow hydra to cache alternative build with secret provisioning (#358782) 2024-11-28 19:35:25 +02:00
Sefa Eyeoglu
60e11b72fa
comrak: 0.23.0 -> 0.31.0 (#359209) 2024-11-28 18:29:12 +01:00
Sefa Eyeoglu
8c5c3e5bc2
python312Packages.soxr: fix build on x86_64-darwin (#359539) 2024-11-28 18:24:15 +01:00
Doron Behar
7edacad9b7 sile: make it easier to setup a modified luaEnv when writing documents 2024-11-28 19:22:28 +02:00
Pol Dellaiera
d8791f8ac3
open-webui: add env.NODE_OPTIONS (#359891) 2024-11-28 18:21:45 +01:00
Nick Cao
8a2c001038
cloudflared: fix cross compilation 2024-11-28 12:01:49 -05:00
R. Ryantm
f34a785514 croc: 10.1.0 -> 10.1.1 2024-11-28 16:46:15 +00:00
Masum Reza
581d7e4d23
jetbrains.rider: Use unwrapped location of sdk (#358178) 2024-11-28 22:15:56 +05:30
Aaron Andersen
bed88b7c2c
opentofu: patch plugins to use opentofu plugin registry (#358522) 2024-11-28 11:44:11 -05:00
Pol Dellaiera
7b404c8aee open-webui: add env.NODE_OPTIONS 2024-11-28 17:39:21 +01:00
Vincent Laporte
c52537868c
ocamlPackages.sedlex: 3.2 → 3.3 2024-11-28 17:28:44 +01:00
Weijia Wang
0ecd14bacb
discrete-scroll: 0.1.1 -> 1.2.1 (#359465) 2024-11-28 17:15:33 +01:00
R. Ryantm
602c7e4553 python312Packages.python-gvm: 24.8.0 -> 24.11.0 2024-11-28 16:06:50 +00:00
Nick Cao
9941229fd9
bear: use lib.cmakeFeature, drop with lib 2024-11-28 11:00:41 -05:00
Nick Cao
542b211fa7
bear: fix cross compilation, set strictDeps 2024-11-28 10:59:05 -05:00
nicoo
e7535d9bc9 mpvScripts: mpv → builtins 2024-11-28 15:57:02 +00:00
Nick Cao
3f7d6de841
anki-sync-server: use new darwin sdk pattern, format with nixfmt 2024-11-28 10:56:57 -05:00
nicoo
1bca510023 mpvScripts: Use lib.packagesFromDirectoryRecursive
As a side-effect, scripts built from the same repo are now grouped into attrsets.
Aliases for the current scripts were added.
2024-11-28 15:56:28 +00:00
Nick Cao
9dea01228a
anki-sync-server: fix cross compilation 2024-11-28 10:56:06 -05:00
asymmetric
a04f8743c7
taler-exchange,taler-merchant: fix description (#359858) 2024-11-28 16:20:19 +01:00
Markus Kowalewski
1a33aa67b2
mopac: 23.0.0 -> 23.0.2 (#358949) 2024-11-28 16:10:51 +01:00
Lorenzo Manacorda
9bdf42fec3 taler-exchange,taler-merchant: fix description
Make description a one-liner, move rest to longDescription.
2024-11-28 15:54:08 +01:00
Nick Cao
64b2f13b2e
rclip: 1.10.3 -> 1.11.0 (#359848) 2024-11-28 09:47:49 -05:00
nixpkgs-merge-bot[bot]
e439619ef8
ugm: 1.5.0 -> 1.6.0 (#359657) 2024-11-28 14:47:06 +00:00
Gaetan Lepage
9884d8921a rclip: 1.10.3 -> 1.11.0
Diff:
https://github.com/yurijmikhalevich/rclip/compare/refs/tags/v1.10.3...v1.11.0

Changelog:
https://github.com/yurijmikhalevich/rclip/releases/tag/v1.11.0
2024-11-28 15:38:59 +01:00
Gaetan Lepage
e79c1007de rclip: format 2024-11-28 15:38:59 +01:00
Gaetan Lepage
4b27a14352 python312Packages.rawpy: init at 0.23.2 2024-11-28 15:38:59 +01:00
Nick Cao
72dc28520e
rogcat: 0.4.7 -> 0.5.0 (#359627) 2024-11-28 09:38:02 -05:00
Nick Cao
54a93b6c5a
ants: 2.5.3 -> 2.5.4 (#359485) 2024-11-28 09:37:16 -05:00
Nick Cao
6a98838fbf
terraform-providers.pagerduty: 3.16.0 -> 3.18.1 (#359823) 2024-11-28 09:31:14 -05:00
Nick Cao
ee79e0dae5
sqlitestudio: 3.4.5 -> 3.4.6 (#359730) 2024-11-28 09:29:52 -05:00
Doron Behar
9a68795314 sile: 0.15.6 -> 0.15.7
Diff: https://github.com/sile-typesetter/sile/compare/None...v0.15.7

Changelog: https://github.com/sile-typesetter/sile/raw/v0.15.7/CHANGELOG.md
2024-11-28 16:24:58 +02:00
Nick Cao
a0d6d9ed67
fh: 0.1.18 -> 0.1.19 (#359757) 2024-11-28 09:23:35 -05:00
R. Ryantm
d28ba31b06 foliate: 3.1.1 -> 3.2.0 2024-11-28 14:23:18 +00:00
Nick Cao
35c69434e6
python312Packages.aiortm: 0.9.32 -> 0.9.36 (#359765) 2024-11-28 09:17:25 -05:00
Nick Cao
13324edce0
python312Packages.aioopenexchangerates: 0.6.13 -> 0.6.16 (#359766) 2024-11-28 09:17:00 -05:00
Nick Cao
55a8bee3cd
python312Packages.findimports: 2.5.1 -> 2.5.2 (#359769) 2024-11-28 09:16:34 -05:00
Nick Cao
0447b7a53d
python312Packages.elmax-api: 0.0.6.1 -> 0.0.6.2 (#359770) 2024-11-28 09:16:00 -05:00
Nick Cao
4054dc1b47
python312Packages.cyclopts: 3.1.0 -> 3.1.1 (#359771) 2024-11-28 09:15:34 -05:00
Nick Cao
f32d3b5fad
python312Packages.mypy-boto3-*: updates (#359775) 2024-11-28 09:14:35 -05:00
Nick Cao
4c277aea43
python312Packages.meshtastic: 2.5.4 -> 2.5.5 (#359776) 2024-11-28 09:14:11 -05:00
Nick Cao
ac0ef9675a
python312Packages.tencentcloud-sdk-python: 3.0.1272 -> 3.0.1273 (#359777) 2024-11-28 09:11:35 -05:00
Nick Cao
9ec849f281
python312Packages.aiorwlock: 1.4.0 -> 1.5.0 (#359784) 2024-11-28 09:10:29 -05:00
Nick Cao
e785acdef5
python312Packages.aiolifx-themes: 0.5.6 -> 0.5.7 (#359785) 2024-11-28 09:09:42 -05:00
Nick Cao
60e64ed72c
python312Packages.coinmetrics-api-client: 2024.10.31.17 -> 2024.11.21.20 (#359788) 2024-11-28 09:09:03 -05:00
Nick Cao
97b2472542
docker-credential-gcr: 2.1.25 -> 2.1.26 (#359711) 2024-11-28 09:06:44 -05:00
Nick Cao
5f633006f0
cascadia-code: 2404.23 -> 2407.24 (#359719) 2024-11-28 09:06:04 -05:00
Nick Cao
e5dcb6d8cc
castxml: 0.6.8 -> 0.6.10 (#359727) 2024-11-28 09:04:50 -05:00
Nick Cao
ff29f0ac75
php84Extensions.mongodb: 1.20.0 -> 1.20.1 (#359729) 2024-11-28 09:04:13 -05:00
Nick Cao
c4b0987e5a
calcure: 3.0.2 -> 3.1 (#359736) 2024-11-28 09:02:29 -05:00
Nick Cao
adc0e5c9b1
bacon: 3.2.0 -> 3.3.0 (#359738) 2024-11-28 09:01:41 -05:00
Nick Cao
44028b5989
pandoc-include: 1.4.0 -> 1.4.1 (#359691) 2024-11-28 08:58:02 -05:00
Nick Cao
d25ed0a789
renode-dts2repl: 0-unstable-2024-10-09 -> 0-unstable-2024-11-27 (#359706) 2024-11-28 08:56:57 -05:00
Nick Cao
e2cab77f21
soundconverter: 4.0.5 -> 4.0.6 (#359707) 2024-11-28 08:56:10 -05:00
Doron Behar
f3125d2f71 sile: remove now unneeded darwin inputs
https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295
2024-11-28 15:54:27 +02:00
techknowlogick
7fa0fa45a8
buildkite-agent: 3.87.0 -> 3.87.1 (#359617) 2024-11-28 14:20:26 +01:00
Devan Carpenter
6822ad5dba sequoia-sq: 0.39.0 -> 0.40.0 2024-11-28 12:56:35 +00:00
Bobby Rong
abdb2b1f86
Cinnamon updates 2024-11-26 (#359288) 2024-11-28 20:53:57 +08:00
Weijia Wang
8e9dfecc09
ffms: fix vapoursynth plugin on darwin (#359262) 2024-11-28 13:52:21 +01:00
Ivan Mincik
dfee0f4940
mapproxy: 3.1.0 -> 3.1.2 (#358854) 2024-11-28 12:42:22 +00:00
Leah Amelia Chen
6d53ec21a0
lla: init at 0.2.9 2024-11-28 13:41:52 +01:00
nicoo
595e00cbca
mpvScripts: handle nested attrsets (#359625) 2024-11-28 12:35:38 +00:00
Juanjo Presa
5a6ea278da nixos/os-release: make default_hostname distroId 2024-11-28 13:25:47 +01:00
Florian Klink
cee3b71531
mycelium: 0.5.6 -> 0.5.7 (#359794) 2024-11-28 14:02:03 +02:00
Franz Pletz
5ca1ce25e1
zammad: move to pkgs/by-name/, use stdenvNoCC and format with rfc-style (#359530) 2024-11-28 12:54:11 +01:00
Gaetan Lepage
1cd22bbd50 python312Packages.huggingface-hub: 0.26.2 -> 0.26.3
Diff: https://github.com/huggingface/huggingface_hub/compare/refs/tags/v0.26.2...v0.26.3

Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v0.26.3
2024-11-28 12:52:15 +01:00
R. Ryantm
009616cc4d php81Extensions.blackfire: 1.92.25 -> 1.92.28 2024-11-28 11:37:39 +00:00
WilliButz
5e281ad29a
sp800-90b-entropyassessment: 1.1.6 -> 1.1.8 (#359576) 2024-11-28 12:37:38 +01:00
Thomas Gerbet
954f9b947a percona-server_8_0: 8.0.37-29 -> 8.0.39-30
Changes:
https://docs.percona.com/percona-server/8.0/release-notes/8.0.39-30.html
https://docs.percona.com/percona-server/8.0/release-notes/8.0.38.html

Fixes:
* CVE-2024-21171
* CVE-2024-21177
* CVE-2024-21163
* CVE-2024-21173
* CVE-2024-21179
* CVE-2024-21127
* CVE-2024-21129
* CVE-2024-21125
* CVE-2024-21130
* CVE-2024-21162
* CVE-2024-21165
* CVE-2024-21142
* CVE-2024-21134
2024-11-28 12:31:21 +01:00
Thomas Gerbet
2fbd23ab9e percona-server: 8.4.0-1 -> 8.4.2-2
Changes:
https://docs.percona.com/percona-server/8.4/release-notes/8.4.2-2.html
https://docs.percona.com/percona-server/8.4/release-notes/8.4.1.html

Fixes
* CVE-2024-21171
* CVE-2024-21177
* CVE-2024-21163
* CVE-2024-21176
* CVE-2024-20996
* CVE-2024-21157
* CVE-2024-21179
* CVE-2024-21127
* CVE-2024-21129
* CVE-2024-21125
* CVE-2024-21130
* CVE-2024-21162
* CVE-2024-21142
* CVE-2024-21134
2024-11-28 12:26:33 +01:00
Atemu
5a7a6c2f25
em100: Build and include makedpfw tool (#359734) 2024-11-28 12:24:48 +01:00
R. Ryantm
6f7f48833e terraform-providers.pagerduty: 3.16.0 -> 3.18.1 2024-11-28 11:21:10 +00:00
Jörg Thalheim
a4308aba72
buildGoModule: no longer filter out vendorSha256 (#359798) 2024-11-28 12:17:46 +01:00
Jörg Thalheim
07c91eefe4
musl: set arch for aarch64 (#359046) 2024-11-28 12:17:09 +01:00
Jörg Thalheim
992dd01f11
tbb_2021_11: fix build on musl (#359051) 2024-11-28 12:15:30 +01:00
Gaetan Lepage
b22393b73f python312Packages.qcodes: 0.50.0 -> 0.50.1
Diff: https://github.com/microsoft/Qcodes/compare/refs/tags/v0.50.0...v0.50.1

Changelog: https://github.com/QCoDeS/Qcodes/releases/tag/v0.50.1
2024-11-28 12:07:59 +01:00
Cosima Neidahl
201bef8a3e
fire: 1.0.0.3 -> 1.0.1-unstable-2024-10-22, modernise, fix Darwin (#358181) 2024-11-28 12:07:17 +01:00
Cosima Neidahl
335b323f4d
dexed: unstable-2022-07-09 -> 0.9.8, modernise, fix Darwin (#358164) 2024-11-28 12:07:01 +01:00
Yt
8e01867781
python3Packages.python-pptx: 0.6.23 -> 1.0.2 (#359781) 2024-11-28 05:24:49 -05:00
Yt
20fb3d9b9e
python312Packages.cleanlab: disabled failing test on python 3.12 (#359810) 2024-11-28 05:24:27 -05:00
R. Ryantm
aef7105b3d jwt-cli: 6.1.1 -> 6.2.0 2024-11-28 11:21:42 +01:00
Emily
ea60c79b79
treewide: unpin most LLVM-14s in all-packages.nix (#358871) 2024-11-28 10:17:15 +00:00
Gaetan Lepage
922853783a python312Packages.cleanlab: disabled failing test on python 3.12 2024-11-28 11:15:17 +01:00
Franz Pletz
a930012b75
mailmap: remap moni's email (#359624) 2024-11-28 11:10:47 +01:00
Grimmauld
c3677f8ca7
activitywatch: add meta.mainProgram 2024-11-28 11:08:04 +01:00
Ulrik Strid
46e484a4ff
ocaml: don't add bin-utils for darwin (#359759) 2024-11-28 11:04:00 +01:00
Gaétan Lepage
0b671fc6e1
python312Packages.stable-baselines3: 2.3.2-unstable-2024-11-04 -> 2.4.0 (#359773) 2024-11-28 10:52:21 +01:00
wxt
d3021e5509
python312Packagesfastnlo-toolkit: fix build 2024-11-28 17:40:27 +08:00
wxt
17399d3824
fastnlo-toolkit: nixfmt 2024-11-28 17:32:17 +08:00
Christina Sørensen
50bfbbd7d4
enableAllTerminfo: re-add unbroken contour (#359542) 2024-11-28 10:31:01 +01:00
Toma
583cf87533
gancio: remove mkYarnPackage usage (#341917) 2024-11-28 10:15:03 +01:00
nixpkgs-merge-bot[bot]
c6ce9eaf37
atlas: 0.28.1 -> 0.29.0 (#359587) 2024-11-28 08:58:56 +00:00
Colin
9b7c788f89
fuzzel: support building with librsvg backend (#356621) 2024-11-28 08:57:58 +00:00
R. Ryantm
c417f4153b mycelium: 0.5.6 -> 0.5.7 2024-11-28 08:44:41 +00:00
Fabian Affolter
149f9897d5 python312Packages.pytest-codspeed: fix typo 2024-11-28 09:43:47 +01:00
Masum Reza
277ad755e7
protobuf_29: init at 29.0 (#359696) 2024-11-28 14:08:23 +05:30
wxt
0419cb537e
python312Packages.django-rest-registration: fix build 2024-11-28 16:37:54 +08:00
Fabian Affolter
9230f0ec9d python311Packages.graphrag: 0.3.6 -> 0.5.0
Diff: https://github.com/microsoft/graphrag/compare/refs/tags/v0.3.6...v0.5.0

Changelog: https://github.com/microsoft/graphrag/blob/v0.5.0/CHANGELOG.md
2024-11-28 09:34:34 +01:00
Fabian Affolter
d05336fe3f python312Packages.google-cloud-datacatalog: 3.21.0 -> 3.23.0
Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-datacatalog-v3.23.0/packages/google-cloud-datacatalog/CHANGELOG.md
2024-11-28 09:30:49 +01:00
Fabian Affolter
03454a0cac python312Packages.coinmetrics-api-client: 2024.10.31.17 -> 2024.11.21.20 2024-11-28 09:29:13 +01:00
R. Ryantm
a4dd838b66 terraform-providers.alicloud: 1.231.0 -> 1.235.0 2024-11-28 18:26:36 +10:00
Fabian Affolter
aa8b440108 python312Packages.aiorwlock: 1.4.0 -> 1.5.0
Diff: https://github.com/aio-libs/aiorwlock/compare/refs/tags/v1.4.0...v1.5.0

Changelog: https://github.com/aio-libs/aiorwlock/releases/tag/v1.5.0
2024-11-28 09:26:04 +01:00
happysalada
ae281b2cba python3Packages.python-pptx: 0.6.23 -> 1.0.2 2024-11-28 03:22:46 -05:00
Jörg Thalheim
60da38b473
add python-updates to dev branches (#359756) 2024-11-28 09:21:43 +01:00
Fabian Affolter
d4265a8997 python312Packages.aiolifx-themes: 0.5.6 -> 0.5.7
Diff: https://github.com/Djelibeybi/aiolifx-themes/compare/refs/tags/v0.5.6...v0.5.7

Changelog: https://github.com/Djelibeybi/aiolifx-themes/releases/tag/v0.5.7
2024-11-28 09:20:28 +01:00
Fabian Affolter
9a4eeca7a6 python312Packages.withings-sync: 4.2.5 -> 4.2.6
Diff: https://github.com/jaroslawhartman/withings-sync/compare/refs/tags/v4.2.5...v4.2.6

Changelog: https://github.com/jaroslawhartman/withings-sync/releases/tag/v4.2.6
2024-11-28 09:16:32 +01:00
4ever2
14d8890fb9 coqPackages.ssprove: 0.2.1 → 0.2.2 2024-11-28 09:13:34 +01:00
Fabian Affolter
cebaaf501b
python312Packages.securetar: 2024.2.1 -> 2024.11.0 (#359253) 2024-11-28 09:12:28 +01:00
Alexander Sieg
a944e46c81 outline: 0.81.0 -> 0.81.1
Diff: https://github.com/outline/outline/compare/v0.81.0...v0.81.1

Changelog: https://github.com/outline/outline/releases
2024-11-28 12:11:52 +04:00
Fabian Affolter
bc563dea32 python312Packages.types-awscrt: 0.23.0 -> 0.23.1
Changelog: https://github.com/youtype/types-awscrt/releases/tag/0.23.1
2024-11-28 09:10:36 +01:00
Fabian Affolter
e1e6f5acd3 python312Packages.tencentcloud-sdk-python: 3.0.1272 -> 3.0.1273
Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1272...3.0.1273

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1273/CHANGELOG.md
2024-11-28 09:02:01 +01:00
Fabian Affolter
cf4e92a010 python312Packages.mypy-boto3-fsx: 1.35.27 -> 1.35.71 2024-11-28 08:59:51 +01:00
Fabian Affolter
2310dcb750 python312Packages.mypy-boto3-ec2: 1.35.67 -> 1.35.70 2024-11-28 08:59:41 +01:00
Fabian Affolter
1a98618560 python312Packages.mypy-boto3-connect: 1.35.68 -> 1.35.70 2024-11-28 08:59:31 +01:00
Fabian Affolter
c9fba96dba python312Packages.mypy-boto3-config: 1.35.0 -> 1.35.71 2024-11-28 08:59:30 +01:00
Fabian Affolter
a19d9041fd python312Packages.meshtastic: 2.5.4 -> 2.5.5
Diff: https://github.com/meshtastic/Meshtastic-python/compare/refs/tags/2.5.4...2.5.5

Changelog: https://github.com/meshtastic/python/releases/tag/2.5.5
2024-11-28 08:58:19 +01:00
Gaetan Lepage
e820bbfd87 python312Packages.stable-baselines3: 2.3.2-unstable-2024-11-04 -> 2.4.0
Diff:
8f0b488bc5...v2.4.0

Changelog:
https://github.com/DLR-RM/stable-baselines3/releases/tag/v2.4.0
2024-11-28 08:57:55 +01:00
Shogo Takata
ae379c99c9
cargo-deb: fix build failure 2024-11-28 16:57:38 +09:00
Fabian Affolter
79d5824997 python312Packages.findimports: 2.5.1 -> 2.5.2
Diff: https://github.com/mgedmin/findimports/compare/refs/tags/2.5.1...2.5.2

Changelog: https://github.com/mgedmin/findimports/blob/2.5.2/CHANGES.rst
2024-11-28 08:56:26 +01:00
Fabian Affolter
8e64298570 python312Packages.elmax-api: 0.0.6.1 -> 0.0.6.2
Diff: https://github.com/albertogeniola/elmax-api/compare/refs/tags/v0.0.6.1...v0.0.6.2

Changelog: https://github.com/albertogeniola/elmax-api/releases/tag/v0.0.6.2
2024-11-28 08:55:55 +01:00
Fabian Affolter
8142620c37 python312Packages.cyclopts: 3.1.0 -> 3.1.1
Diff: https://github.com/BrianPugh/cyclopts/compare/refs/tags/v3.1.0...v3.1.1

Changelog: https://github.com/BrianPugh/cyclopts/releases/tag/v3.1.1
2024-11-28 08:55:33 +01:00
Fabian Affolter
89ff8b6b8d python312Packages.aiortm: 0.9.32 -> 0.9.36
Diff: https://github.com/MartinHjelmare/aiortm/compare/refs/tags/v0.9.32...v0.9.36

Changelog: https://github.com/MartinHjelmare/aiortm/blob/v0.9.36/CHANGELOG.md
2024-11-28 08:54:21 +01:00
Fabian Affolter
62f028f409 python312Packages.aioopenexchangerates: 0.6.13 -> 0.6.16
Diff: https://github.com/MartinHjelmare/aioopenexchangerates/compare/refs/tags/v0.6.13...v0.6.16

Changelog: https://github.com/MartinHjelmare/aioopenexchangerates/blob/v0.6.16/CHANGELOG.md
2024-11-28 08:53:53 +01:00
Gaétan Lepage
226216574a
vimPlugins.blink-cmp: 0.5.1. -> 0.6.2 (#359752) 2024-11-28 08:51:56 +01:00
Fabian Affolter
013b002ff9
python3Packages.pyflipper: init at unstable 2024-04-15 (#343729) 2024-11-28 08:51:46 +01:00
Yt
5945901935
python3Packages.django-apscheduler: init at 0.7.0 (#358890) 2024-11-28 02:51:31 -05:00
Yt
7bc536f6f1
aider-chat: 0.62.0 -> 0.65.0 (#358832) 2024-11-28 02:50:48 -05:00
Fabian Affolter
c85e05343f
python312Packages.turrishw: init at 1.0.0 (#359434) 2024-11-28 08:50:14 +01:00
Fabian Affolter
fd4a692661
python312Packages.pytest-codspeed: init at 3.0.0 (#359443) 2024-11-28 08:50:00 +01:00
maralorn
695e6a025f
haskellPackages.unordered-containers: disable hanging tests on 32bit (#359690) 2024-11-28 08:49:20 +01:00
Christina Sørensen
a5db1dd477
eza: 0.20.9 -> 0.20.10
changelog: https://github.com/eza-community/eza/releases/tag/v0.20.10
2024-11-28 08:41:59 +01:00
Antonio Nuno Monteiro
5020a1c82a ocaml: don't add bin-utils for darwin 2024-11-27 23:40:26 -08:00
Ivan Mincik
145b28d899 qgis: use default python version 2024-11-28 08:39:07 +01:00
Fabian Affolter
8a30b22d0a
python312Packages.aioacaia: init at 0.1.9 (#359461) 2024-11-28 08:38:27 +01:00
Fabian Affolter
712f670bb3
burpsuite: add changelog to meta (#359510) 2024-11-28 08:38:09 +01:00
Fabian Affolter
b9d1c3ee13
python312Packages.django-colorful: refactor (#359519) 2024-11-28 08:37:54 +01:00
Fabian Affolter
c929692827
python3Packages.pymodes: init at 2.11 (#359536) 2024-11-28 08:37:41 +01:00
Fabian Affolter
991195ade7
python312Packages.iocsearcher: 1.0.0 -> 2.4.3-unstable-2024-10-08 (#359545) 2024-11-28 08:37:23 +01:00
Jörg Thalheim
668d72c474 add python-updates to dev branches 2024-11-28 08:35:39 +01:00
Shogo Takata
b26135cd5c
cargo-feature: fix build failure 2024-11-28 16:34:07 +09:00
R. Ryantm
f1745cb78f fh: 0.1.18 -> 0.1.19 2024-11-28 07:30:52 +00:00
Vincent Laporte
e22a765605 scheherazade-new: 4.000 → 4.300 2024-11-28 08:29:14 +01:00
Austin Horstman
bdf12d1a06
vimPlugins.blink-cmp: 0.5.1. -> 0.6.2 2024-11-28 01:20:59 -06:00
Jon Seager
cf99465f46
parca: init at 0.22.0 (#359635) 2024-11-28 07:17:38 +00:00
Tristan Ross
e405f30513
flutterPackages-source.*.engine: don't remove gen (#359123) 2024-11-27 22:51:44 -08:00
Christina Sørensen
d00aba92df
gping: 1.17.3 -> 1.18.0 (#356624) 2024-11-28 07:43:37 +01:00
Gaétan Lepage
2202fa533b
protobuf: format (#359703) 2024-11-28 07:39:59 +01:00
x123
134d72cd4c phraze: 0.3.15 -> 0.3.17 2024-11-28 07:35:29 +01:00
damhiya
c78d3b8465 coqPackages.Ordinal: init at 0.5.3 2024-11-28 07:30:11 +01:00
damhiya
bbe77e1e87 maintainers: add damhiya 2024-11-28 07:30:11 +01:00
R. Ryantm
2685312ba9 bacon: 3.2.0 -> 3.3.0 2024-11-28 06:01:52 +00:00
R. Ryantm
b386cae5ba calcure: 3.0.2 -> 3.1 2024-11-28 05:49:50 +00:00
Yt
258e563d2c
python312Packages.polyfactory: 2.18.0 -> 2.18.1 (#359283) 2024-11-28 00:20:28 -05:00
Pol Dellaiera
ea757832c1
iosevka: 31.8.0 -> 32.1.0 (#359598) 2024-11-28 06:11:03 +01:00
Felix Singer
c49e024745 em100: Build and include makedpfw tool
This tool allows to produce a firmware update binary for the EM100.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-11-28 05:55:23 +01:00
Aleksana
444f948e3c
dissent: 0.0.30 -> 0.0.31 (#359728) 2024-11-28 11:59:02 +08:00
Wael Nasreddine
c945a25c0b
jx: 3.10.156 -> 3.11.1 (#359676) 2024-11-27 19:48:54 -08:00
happysalada
7fbad767df python3Packages.django-apscheduler: init at 0.7.0 2024-11-27 22:22:15 -05:00
Chatnoir Miki
053ae2cfff sqlitestudio: 3.4.5 -> 3.4.6 2024-11-28 11:21:44 +08:00
Nick Cao
a253c2d94c
wdt: 1.27.1612021-unstable-2024-08-22 -> 1.27.1612021-unstable-2024-11-14 (#359716) 2024-11-27 22:20:06 -05:00
Yt
7069636733
krop: pin pypdf2 version (#357570) 2024-11-27 22:17:14 -05:00
R. Ryantm
eba5e18f5e dissent: 0.0.30 -> 0.0.31 2024-11-28 03:05:43 +00:00
R. Ryantm
47866d72ca php84Extensions.mongodb: 1.20.0 -> 1.20.1 2024-11-28 03:03:19 +00:00
happysalada
47e05fadce aider-chat: 0.62.0 -> 0.65.0 2024-11-27 21:47:58 -05:00
happysalada
faf198371a python312Packages.litellm: 1.51.2 -> 1.52.16 2024-11-27 21:47:57 -05:00
Donovan Glover
2d9cb77fbc
quill: 0.2.17 -> 0.5.1 (#356925) 2024-11-28 02:17:27 +00:00
R. Ryantm
b3756fbfe1 castxml: 0.6.8 -> 0.6.10 2024-11-28 02:15:23 +00:00
R. Ryantm
470dff29fa factoriolab: 3.8.1 -> 3.8.4 2024-11-28 01:42:08 +00:00
R. Ryantm
95357bc936 cascadia-code: 2404.23 -> 2407.24 2024-11-28 01:29:17 +00:00
Diego Esteban Concepción
142f3a52bc gf: unstable-2023-08-09 -> 0-unstable-2024-08-21; include extensions and add plugin support
List of changes: 4190211d63..40f2ae604f
2024-11-28 02:28:56 +01:00
R. Ryantm
ab94a42728 wdt: 1.27.1612021-unstable-2024-08-22 -> 1.27.1612021-unstable-2024-11-14 2024-11-28 00:57:57 +00:00
PerchunPak
2861fbe572
basedpyright: 1.21.1 -> 1.22.0 2024-11-28 01:55:44 +01:00
R. Ryantm
241087650a docker-credential-gcr: 2.1.25 -> 2.1.26 2024-11-28 00:21:00 +00:00
R. Ryantm
4e80396028 dmarc-metrics-exporter: 1.1.0 -> 1.2.0 2024-11-28 00:08:52 +00:00
Weijia Wang
a414020582 ogre: 14.3.1 -> 14.3.2 2024-11-28 01:05:52 +01:00
Felix Buehler
ba6e7e10bb nixos/services.readarr: remove with lib; 2024-11-28 00:45:33 +01:00
Felix Buehler
39d9937d05 nixos/services.radarr: remove with lib; 2024-11-28 00:45:33 +01:00
Felix Buehler
f5c2c7bbf2 nixos/services.pykms: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
247134aefb nixos/services.prowlarr: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
6a73a0aca9 nixos/services.preload: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
257f608dfc nixos/services.polaris: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
66fecabb5f nixos/services.plikd: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
8553d979a1 nixos/services.plex: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
bb74224921 nixos/services.pinnwand: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
59061eb9ea nixos/services.parsoid: remove with lib; 2024-11-28 00:45:32 +01:00
Felix Buehler
9540ed8747 nixos/services.paperless: remove with lib; 2024-11-28 00:45:30 +01:00
Weijia Wang
e58e1161de discrete-scroll: 0.1.1 -> 1.2.1 2024-11-28 00:45:24 +01:00
Weijia Wang
ad50df3384 discrete-scroll: refactor 2024-11-28 00:43:41 +01:00
R. Ryantm
6bb8101aaf soundconverter: 4.0.5 -> 4.0.6 2024-11-27 23:37:25 +00:00
R. Ryantm
51503b1c36 renode-dts2repl: 0-unstable-2024-10-09 -> 0-unstable-2024-11-27 2024-11-27 23:28:30 +00:00
Gaetan Lepage
54313579bb protobuf: format 2024-11-28 00:25:59 +01:00
yuuko
e0c4e89535 depotdownloader: 2.7.3 -> 2.7.4 2024-11-27 15:16:08 -08:00
Gaetan Lepage
9ea0de6394 protobuf_29: init at 29.0 2024-11-27 23:52:58 +01:00
Weijia Wang
16e096e34e vapoursynth-znedi3: fix darwin build 2024-11-27 23:52:37 +01:00
Weijia Wang
e7af7017b1 vapoursynth-nnedi3: fix darwin build 2024-11-27 23:52:34 +01:00
Weijia Wang
31cb06a26a vapoursynth-editor: fix darwin build 2024-11-27 23:50:00 +01:00
Pablo Ovelleiro Corral
cc11443256
factorio-mods: drop 2024-11-27 23:46:48 +01:00
R. Ryantm
25bc2d8c45 crossplane-cli: 1.17.1 -> 1.18.0 2024-11-27 22:39:37 +00:00
sternenseemann
10eb3ebd78 haskellPackages.unordered-containers: disable hanging tests on 32bit 2024-11-27 23:14:38 +01:00
R. Ryantm
d4b4471786 pandoc-include: 1.4.0 -> 1.4.1 2024-11-27 22:07:57 +00:00
Sandro Jäckel
61d15c60fc
nixos/mailman: add option to expand the uwsgi settings 2024-11-27 23:02:47 +01:00
OPNA2608
bd1f484c05 lomiri.lomiri-url-dispatcher: Fix libexec binary location in services 2024-11-27 22:51:53 +01:00
Sandro Jäckel
07fb8bb1a6
level-zero: 1.18.3 -> 1.19.2
Diff: https://github.com/oneapi-src/level-zero/compare/refs/tags/v1.18.3...v1.19.2

Changelog: https://github.com/oneapi-src/level-zero/blob/v1.19.2/CHANGELOG.md
2024-11-27 22:35:56 +01:00
R. Ryantm
e2d3e2e33c jx: 3.10.156 -> 3.11.1 2024-11-27 21:28:38 +00:00
Felix Buehler
01218209dc nixos/services.duplicity: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
699a0f8601 nixos/services.duplicati: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
ef50268985 nixos/services.borgmatic: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
f600d6a3b1 nixos/services.ympd: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
9d80afc3c4 nixos/services.spotifyd: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
f6a10dfc09 nixos/services.slimserver: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
ecb168c8d7 nixos/services.roon-server: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler
794d3952b0 nixos/services.roon-bridge: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
bde5fcc9b8 nixos/services.networkaudiod: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
b477479cb7 nixos/services.mpdscribble: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
de5c62db29 nixos/services.liquidsoap: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
f645147c7e nixos/services.jmusicbot: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
291d92e529 nixos/services.jack: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
e8fa5a92e9 nixos/services.icecast: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
1d19c390cf nixos/services.hqplayerd: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
dfd031a486 nixos/services.goxlr-utility: remove with lib; 2024-11-27 22:26:58 +01:00
Felix Buehler
496d11787d nixos/services.gonic: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
cab8ab375c nixos/services.gmediarender: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
c62a55f1b6 nixos/services.botamusique: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
82146f6a71 nixos/services.activemq: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
5a670b332a nixos/services.salt.minion: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
503fd3014a nixos/services.oxidized: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
3c80b14a81 nixos/security.please: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
a62e66394b nixos/security.audit: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
236ed7869d nixos/security.apparmor: remove with lib; 2024-11-27 22:26:57 +01:00
Felix Buehler
b1a2522f05 nixos/fcast-receiver: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
9a8512f460 nixos/meta: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
0334b1bf8e nixos/label: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
4feff6c9b5 nixos/crashdump: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
650b7695e0 nixos/assertions: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
387be4f6c3 nixos/i18n.inputMethod.uim: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
d5a377e94e nixos/i18n.inputMethod.nabi: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
3eb92bcce7 nixos/i18n.inputMethod.ibus: remove with lib; 2024-11-27 22:26:56 +01:00
Felix Buehler
17c011592a nixos/i18n.inputMethod.hime: remove with lib; 2024-11-27 22:26:56 +01:00
Kiara Grouwstra
d99f51ac60 opentofu: patch plugins to use opentofu plugin registry 2024-11-27 22:18:36 +01:00
Kiara Grouwstra
187ef4d65b opentofu: apply nixfmt 2024-11-27 22:18:31 +01:00
Gliczy
a8ae141ee9 discord-canary: 0.0.527 -> 0.0.528 2024-11-27 21:31:23 +01:00
Gliczy
ac08a31d7f discord: add pipewire to fix screensharing 2024-11-27 21:31:07 +01:00
Robert Schütz
238f0190ba python312Packages.aemet-opendata: 0.5.5 -> 0.6.3
Diff: https://github.com/Noltari/AEMET-OpenData/compare/refs/tags/0.5.5...0.6.3

Changelog: https://github.com/Noltari/AEMET-OpenData/releases/tag/0.6.0
           https://github.com/Noltari/AEMET-OpenData/releases/tag/0.6.1
           https://github.com/Noltari/AEMET-OpenData/releases/tag/0.6.2
           https://github.com/Noltari/AEMET-OpenData/releases/tag/0.6.3
2024-11-27 12:27:37 -08:00
R. Ryantm
656e285fa3 tenv: 3.1.0 -> 3.2.10 2024-11-27 20:14:18 +00:00
sodiboo
edbb4903fa flutterPackages-source.*.engine: don't remove gen 2024-11-27 21:06:37 +01:00
Victor B.
8d33e4ff7d
nodemon: fix package meta 2024-11-27 20:46:28 +01:00
R. Ryantm
e28b3f0713 ugm: 1.5.0 -> 1.6.0 2024-11-27 19:33:31 +00:00
Vincent Bernat
998c477262 gnmic: fix version reporting
Fix #359543
2024-11-27 20:29:40 +01:00
R. Ryantm
e893090d19 blackfire: 2.28.13 -> 2.28.20 2024-11-27 18:42:14 +00:00
Jon Seager
445e5f83d4
parca: init at 0.22.0 2024-11-27 17:54:04 +00:00
Rafael Fernández López
c33e7bf9b4 wasm-tools: 1.220.0 -> 1.221.0 2024-11-27 18:36:58 +01:00
Rafael Fernández López
e687982294 fastly: 10.16.0 -> 10.17.0 2024-11-27 18:29:33 +01:00
genga
7a71540369 rogcat: 0.4.7 -> 0.5.0 2024-11-27 20:22:24 +03:00
moni
db38085367
mailmap: remap moni's email 2024-11-28 01:07:59 +08:00
K900
ebbbe4c8aa mumble-overlay: just build it the upstream way
We don't need an entire i686 Mumble just for the overlay,
nor do we need the weird custom glue.
2024-11-27 19:53:20 +03:00
Jennifer Graul
07d95b3be7
zammad: format with nixfmt-rfc-style 2024-11-27 17:47:52 +01:00
Jennifer Graul
cdc7b2d51d
zammad: use stdenvNoCC 2024-11-27 17:46:55 +01:00
R. Ryantm
6cb5eb6735 python312Packages.influxdb3-python: 0.9.0 -> 0.10.0 2024-11-27 16:40:27 +00:00
hauskens
2432cb68e4
acr-cli: init at 0.14 2024-11-27 17:23:15 +01:00
Yueh-Shun Li
7542b942a4 buildGoModule: no longer filter out vendorSha256 2024-11-28 00:11:33 +08:00
Joshua Manchester
49ab9e2f2b
bibata-cursors: build right-hand variant 2024-11-27 16:03:37 +00:00
Joshua Manchester
df146dcf5c
bibata-cursors: fix normal variant 2024-11-27 16:03:04 +00:00
Gaetan Lepage
7263220870 python312Packages.spsdk: 2.2.1 -> 2.4.0
Diff: https://github.com/nxp-mcuxpresso/spsdk/compare/2.2.1...v2.4.0

Changelog: https://github.com/nxp-mcuxpresso/spsdk/releases/tag/v2.4.0
2024-11-27 17:00:11 +01:00
Gaetan Lepage
7413190665 python312Packages.libuuu: init at 1.5.82 2024-11-27 17:00:09 +01:00
R. Ryantm
99799235a7 python312Packages.fido2: 1.1.3 -> 1.2.0 2024-11-27 15:30:54 +00:00
Alexander Braverman Masis
fe48be2ab5 formats.libconfig: add support for dashes 2024-11-27 10:15:21 -05:00
R. Ryantm
f719a8a49b iosevka: 31.8.0 -> 32.1.0 2024-11-27 15:12:09 +00:00
tengkuizdihar
535e0c8a58 pegasus-frontend: 0-unstable-2023-12-05 -> 0-unstable-2024-11-11 2024-11-27 21:57:18 +07:00
Thiago Kenji Okada
5cbc6f5623 nixos-rebuild-ng: use argparse groups to group nix flags 2024-11-27 14:21:15 +00:00
R. Ryantm
4d40d318f8 atlas: 0.28.1 -> 0.29.0 2024-11-27 14:03:10 +00:00
Markus Theil
665019c80e sp800-90b-entropyassessment: 1.1.6 -> 1.1.8
* The tool can handle files larger than 2GB now.
* Improves error messages for various use cases in the application
* IID tests run all 90B Section 5 tests rather than stopping at the first failure

Upstream: https://github.com/usnistgov/SP800-90B_EntropyAssessment/releases/tag/v1.1.8

Signed-off-by: Markus Theil <theil.markus@gmail.com>
2024-11-27 14:20:33 +01:00
Markus Theil
860855c3b5 libdivsufsort: enable 64-Bit mode
Signed-off-by: Markus Theil <theil.markus@gmail.com>
2024-11-27 14:20:33 +01:00
Zhong Jianxin
f9b4435b5a python312Packages.soxr: fix build on x86_64-darwin 2024-11-27 20:56:12 +08:00
Francesco Gazzetta
bf239275a2 libblake3: 1.5.4 -> 1.5.5
Diff: https://github.com/BLAKE3-team/BLAKE3/compare/refs/tags/1.5.4...1.5.5
2024-11-27 13:42:28 +01:00
Emil Thorsoe
92a4d1d60d enableAllTerminfo: re-add unbroken contour 2024-11-27 14:12:20 +02:00
aleksana
796d9387ed folio: 24.12 -> 24.13
Diff: https://github.com/toolstack/Folio/compare/24.12...24.13
Changelog: https://github.com/toolstack/Folio/releases/tag/24.13
2024-11-27 19:55:40 +08:00
Jonas Heinrich
1588793de6 krop: pin pypdf2 version 2024-11-27 12:20:48 +01:00
Thiago Kenji Okada
287518360a nixos-rebuild-ng: validate NIX_SSHOPTS 2024-11-27 11:01:02 +00:00
Fabian Affolter
2a334fbfa3 python312Packages.iocsearcher: 1.0.0 -> 2.4.3-unstable-2024-10-08 2024-11-27 11:29:53 +01:00
Fabian Affolter
261ec4e6d9 python312Packages.pymodes: 2.11 -> 2.19
Changelog: https://github.com/junzis/pyModeS/releases/tag/v2.19
2024-11-27 10:40:11 +01:00
snicket2100
da5d2f176d python3Packages.pymodes: init at 2.11 2024-11-27 10:39:57 +01:00
Jennifer Graul
ab34686a5b
zammad: move to pkgs/by-name/ 2024-11-27 09:42:13 +01:00
K900
5463082f3f breakpad: 2023.01.27 -> 2023.06.01 2024-11-27 11:34:08 +03:00
Fabian Affolter
49dcd55e30 python312Packages.django-colorful: refactor 2024-11-27 08:51:52 +01:00
Stephen Huan
51383099e7
rPackages.Rhdf5lib: remove hdf5_1_10 override 2024-11-26 23:50:05 -08:00
Stephen Huan
aebb41980c
hdf5_1_10: add stephen-huan as maintainer 2024-11-26 23:48:40 -08:00
Stephen Huan
9896808a25
hdf5_1_10: enable cpp support 2024-11-26 23:47:46 -08:00
Audrey Dutcher
6b0a1f8123 freebsd.libc: break into many small derivations 2024-11-27 00:38:57 -07:00
Fabian Affolter
668709c820 burpsuite: add changelog to meta 2024-11-27 08:15:01 +01:00
Fabian Affolter
7eca847314 burpsuite: add myself as maintainer 2024-11-27 08:05:54 +01:00
R. Ryantm
27759f6798 pt2-clone: 1.70 -> 1.71 2024-11-27 05:01:34 +00:00
unlsycn
157c607825
mill: 0.12.2 -> 0.12.3
Signed-off-by: unlsycn <unlsycn@unlsycn.com>
2024-11-27 04:40:56 +00:00
R. Ryantm
8d123ca4b2 ignite-cli: 28.5.3 -> 28.6.0 2024-11-27 04:10:12 +00:00
R. Ryantm
b2a83dc1e6 ants: 2.5.3 -> 2.5.4 2024-11-27 03:28:54 +00:00
R. Ryantm
12da01a2e2 archipelago-minecraft: 0.5.0 -> 0.5.1 2024-11-27 01:25:41 +00:00
wxt
b079cadebc
python312Packages.weaviate-client: 4.9.3 -> 4.9.4 2024-11-27 08:08:18 +08:00
Weijia Wang
a2430c57d7 discrete-scroll: rename from darwin.discrete-scroll 2024-11-27 00:35:26 +01:00
Fabian Affolter
b4d11602b8 python312Packages.aioacaia: init at 0.1.9
Async implementation of pyacaia

https://github.com/zweckj/aioacaia
2024-11-27 00:17:16 +01:00
Gaetan Lepage
a848fde40e nagstamon: 3.14.0 -> 3.16.2
Co-authored-by: liberodark <liberodark@gmail.com>

Diff: https://github.com/HenriWahl/Nagstamon/compare/v3.14.0...v3.16.2

Changelog: https://github.com/HenriWahl/Nagstamon/releases/tag/v3.16.2
2024-11-27 00:08:40 +01:00
Fabian Affolter
b247f03fcd python312Packages.pytest-codspeed: init at 3.0.0
Pytest plugin to create CodSpeed benchmarks

https://github.com/CodSpeedHQ/pytest-codspeed
2024-11-26 23:32:14 +01:00
Thiago Kenji Okada
3ef018f5e3 nixos-rebuild-ng: set process.run_wrapper check=True by default 2024-11-26 22:08:27 +00:00
Fabian Affolter
a35d172934 python312Packages.turrishw: init at 1.0.0
Python library and program for Turris hardware listing

https://github.com/turris-cz/turrishw
2024-11-26 23:00:42 +01:00
Fabian Affolter
7025e30f43 python312Packages.pyflipper: minor changes 2024-11-26 22:12:19 +01:00
Sefa Eyeoglu
849225f9a1
nixos/renovate: unset service restart
Unsetting `Restart=` defaults to `Restart=no`. We don't want Renovate to
automatically restart, as it might trigger rate limits.

See https://github.com/NixOS/nixpkgs/issues/358028

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-26 21:36:20 +01:00
Maximilian Bosch
488fde7d06
matrix-synapse: 1.119.0 -> 1.120.0
ChangeLog: https://github.com/element-hq/synapse/releases/tag/v1.120.0
2024-11-26 21:34:36 +01:00
Fabian Affolter
a7f17f6ee4
python312Packages.securetar: refactor 2024-11-26 21:24:52 +01:00
Thiago Kenji Okada
3a080abf13 nixos-rebuild-ng: import nix module instead of each individual function 2024-11-26 20:12:21 +00:00
Felix Singer
47f6cf666d gerrit: Apply nixfmt
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-11-26 21:06:46 +01:00
Felix Singer
a4633945f0 gerrit: 3.10.2 -> 3.10.3
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-11-26 21:06:05 +01:00
R. Ryantm
bc67ed671b tigerbeetle: 0.16.12 -> 0.16.14 2024-11-26 19:46:25 +00:00
R. Ryantm
8af60309ba python312Packages.tskit: 0.5.8 -> 0.6.0 2024-11-26 18:02:37 +00:00
Thiago Kenji Okada
088785adf8 nixos-rebuild-ng: split parser_args in get_parser 2024-11-26 17:14:24 +00:00
Weijia Wang
c50074fffd vapoursynth: fix plugin interface on darwin 2024-11-26 18:01:21 +01:00
Thiago Kenji Okada
0479ef4106 nixos-rebuild-ng: remove explicit check for git and instead check exception 2024-11-26 16:56:49 +00:00
Weijia Wang
01cb82366f vapoursynth: reformat plugin interface 2024-11-26 17:53:50 +01:00
Weijia Wang
199697f54e vapoursynth: fix darwin build 2024-11-26 17:52:53 +01:00
R. Ryantm
56f8cbd775 ooniprobe-cli: 3.23.0 -> 3.24.0 2024-11-26 16:36:07 +00:00
R. Ryantm
7ac450eaa0 mackerel-agent: 0.82.0 -> 0.83.0 2024-11-26 16:33:11 +00:00
Thiago Kenji Okada
2e4d755351 nixos-rebuild-ng: do not use TTY for --target-host
Instead this commit introduces the `--ask-sudo-password` that stores the
password in memory and injects it via `stdin` if the user wants.
2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
10f2b080c3 nixos-rebuild-ng: move test to the correct file 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
4adad7f664 nixos-rebuild-ng: implement --target-host for --rollback 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
e37e7e348d nixos-rebuild-ng: cleanup SSH ControlMaster at exit 2024-11-26 16:21:13 +00:00
Thiago Kenji Okada
f443299c58 nixos-rebuild-ng: remove support for env in process.run_wrapper 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
866e1786e3 nixos-rebuild-ng: move models.Ssh to process.Remote 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
37d6a2688f nixos-rebuild-ng: get remote hostname 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
56203bca4e nixos-rebuild-ng: add allow_tty parameter to process.run_wrapper 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
8bd70ef699 nixos-rebuild-ng: error when --rollback is called with incompatible action 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
a2cbe67701 nixos-rebuild-ng: implement --target-host 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
fd1cd69315 nixos-rebuild-ng: add pythonpath to pytest config 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
3d7fbe88ab nixos-rebuild-ng: parse NIX_SSHOPTS instead of SSH_OPTS env var 2024-11-26 16:21:12 +00:00
Thiago Kenji Okada
a6b9aaba1b nixos-rebuild-ng: add TTY allocation in SSH 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
31e9e8c0aa nixos-rebuild-ng: run -> run_wrapper, handle encode errors and add extra_env 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
e47b17e239 nixos-rebuild-ng: create instance for dataclass from Self 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
6c6d08dc4f nixos-rebuild-ng: add --sudo/--use-remote-sudo flags 2024-11-26 16:21:11 +00:00
Thiago Kenji Okada
3b41ec0691 nixos-rebuild-ng: explicitly parse Nix flags 2024-11-26 16:21:11 +00:00
Francesco Carmelo Capria
6b75aa3623 hyprgui: 0.1.8 -> 0.1.9 2024-11-26 16:41:41 +01:00
Peder Bergebakken Sundt
9f9553ee5a python312Packages.nanobind: 2.1.0 -> 2.2.0
Diff: https://github.com/wjakob/nanobind/compare/refs/tags/v2.1.0...v2.2.0

Changelog: https://github.com/wjakob/nanobind/blob/refs/tags/v2.2.0/docs/changelog.rst
2024-11-26 15:56:20 +01:00
Christina Sørensen
3f36a03842
pbpctrl: add cafkafk to maintainers
I've bought a pair of pixel bud pros 2, so I'm interested in this
software staying up to date and fixing potential issues.

This also means I'll potentially be pinged on new releases so I can get
them merged quickly.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-11-26 14:47:19 +01:00
Christina Sørensen
c7b0f4de4a
pbpctrl: 0.1.6 -> 0.1.7
Adds pixel buds pro 2 support

Release notes: https://github.com/qzed/pbpctrl/releases/tag/v0.1.7

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-11-26 14:46:01 +01:00
Bobby Rong
84151e088b
folder-color-switcher: 1.6.4 -> 1.6.5
c9d1a2b9c7...ba8ea15a48
2024-11-26 21:26:32 +08:00
Bobby Rong
a608ec048b
mint-themes: 2.1.8 -> 2.1.9
https://github.com/linuxmint/mint-themes/compare/2.1.8...2.1.9
2024-11-26 21:26:32 +08:00
Bobby Rong
1e191cba1e
mint-x-icons: 1.7.1 -> 1.7.2
https://github.com/linuxmint/mint-x-icons/compare/1.7.1...1.7.2
2024-11-26 21:26:32 +08:00
Bobby Rong
354c08e558
mint-y-icons: 1.7.7 -> 1.7.8
https://github.com/linuxmint/mint-y-icons/compare/1.7.7...1.7.8
2024-11-26 21:26:32 +08:00
Bobby Rong
36e403d7e4
mint-l-icons: 1.7.2 -> 1.7.3
ee03e6dad0...f1900facf9
2024-11-26 21:26:32 +08:00
Bobby Rong
5f93d3f0e2
xed-editor: 3.6.6 -> 3.6.7
https://github.com/linuxmint/xed/compare/3.6.6...3.6.7
2024-11-26 21:26:32 +08:00
Bobby Rong
94fe01900a
xapp: 2.8.5 -> 2.8.6
https://github.com/linuxmint/xapp/compare/2.8.5...2.8.6
2024-11-26 21:26:32 +08:00
Bobby Rong
d5ba75979a
lightdm-slick-greeter: 2.0.6 -> 2.0.7
https://github.com/linuxmint/slick-greeter/compare/2.0.6...2.0.7
2024-11-26 21:26:32 +08:00
Bobby Rong
c466c22945
xdg-desktop-portal-xapp: 1.0.9 -> 1.1.0
https://github.com/linuxmint/xdg-desktop-portal-xapp/compare/1.0.9...1.1.0
2024-11-26 21:26:32 +08:00
wxt
b9e2cc9f69
python312Packages.polyfactory: 2.18.0 -> 2.18.1 2024-11-26 21:19:51 +08:00
R. Ryantm
67e16b74c7 anilibria-winmaclinux: 2.2.20 -> 2.2.22 2024-11-26 12:37:10 +00:00
Sandro Jäckel
b683d90355
mutt: remove ? null from packages
there are bool flags to enable/disable certain features and overriding
packages with null is a hack which should not be used.
2024-11-26 13:35:09 +01:00
Weijia Wang
15fa96fd94 vapoursynth: use new darwin sdk pattern 2024-11-26 13:09:04 +01:00
Weijia Wang
6a915e6312 ffms: add wegank as maintainer 2024-11-26 13:06:54 +01:00
Weijia Wang
8cf68bd054 ffms: fix vapoursynth plugin on darwin 2024-11-26 13:06:24 +01:00
Weijia Wang
e904075ee6 ffms: reformat 2024-11-26 13:05:38 +01:00
Fabian Affolter
1ffc6e0c7a python312Packages.securetar: 2024.2.1 -> 2024.11.0
Diff: https://github.com/pvizeli/securetar/compare/refs/tags/2024.2.1...2024.11.0

Changelog: https://github.com/pvizeli/securetar/releases/tag/2024.11.0
2024-11-26 12:52:27 +01:00
Asherah Connor
e5df03ca91 comrak: 0.23.0 -> 0.31.0 2024-11-26 18:18:27 +11:00
genga
099b6c54fb rattler-build: init at 0.29.0
rattler-build: update cargoLock and add versionCheckHook

rattler-build: update buildInputs

rattler-build: update

rattler-build: update

rattler-build: add intall checks

rattler-build: replace cargoLock with useFetchCargoVendor
2024-11-26 08:45:44 +03:00
Anugrah
aee73ac488 archimede: init at 0.0.2 2024-11-25 19:17:07 -08:00
R. Ryantm
7dd27c3376 nfs-ganesha: 6.2 -> 6.3 2024-11-26 02:59:57 +00:00
R. Ryantm
0bed3f1cef mtr-exporter: 0.3.0 -> 0.4.0 2024-11-26 02:50:11 +00:00
R. Ryantm
06a2b04963 podman: 5.3.0 -> 5.3.1 2024-11-25 21:09:50 +00:00
Steffen Vogel
6347c8ba51 gose: init at 0.8.0 2024-11-25 22:00:54 +01:00
parth
6d0eadc439 maintainers: add parth 2024-11-25 13:39:09 -05:00
Kenichi Kamiya
e80357c95b
ghq: format with nixfmt-rfc-style 2024-11-26 03:33:26 +09:00
Kenichi Kamiya
e250f56a19
ghq: add updateScript 2024-11-26 03:32:36 +09:00
Kenichi Kamiya
abd0237851
ghq: add passthru.tests.version 2024-11-26 03:32:35 +09:00
Yureka
2496c495ef tbb_2021_11: fix build on musl
the previous substitution resulted in an invalid CMakeLists.txt

Change-Id: I9ad37811c76239fa1d0238c71727cda9936939f4
Signed-off-by: Yureka <yureka@cyberchaos.dev>
2024-11-25 18:01:07 +01:00
Yureka
45556cbdb8 musl: set arch for aarch64
Fixes build of pkgsMusl.temurin-bin-21 on aarch64-unknown-linux-musl, which is needed for bootstrapping jdk21

Change-Id: I36ab11e8ba1787285986ee9462ed6d0f5edfa6fe
2024-11-25 17:44:10 +01:00
Jordan Williams
696ff47378
flatpak: set meta.mainProgram 2024-11-25 08:00:16 -06:00
Markus Kowalewski
65e7ddabb4 mopac: 23.0.0 -> 23.0.2 2024-11-25 11:37:47 +01:00
Reno Dakota
d649398796
xdp-tools: unpin LLVM-14
> clang: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'bpf'

required hardeningDisable zerocallusedregs
2024-11-25 02:27:23 +00:00
Reno Dakota
c5a0fff879
zcash: unpin LLVM-14 2024-11-25 02:27:23 +00:00
Reno Dakota
f02f515725
cvise: unpin LLVM-14 2024-11-25 02:27:23 +00:00
Reno Dakota
ec11f1cc97
ccls: unpin LLVM-14 2024-11-25 02:27:23 +00:00
Reno Dakota
c90e5ad038
clazy: unpin LLVM-14 2024-11-25 02:27:23 +00:00
Reno Dakota
7c1b6a3abc
codon: LLVM-14 unpin
package marked as broken -- no need to pin
2024-11-25 02:27:23 +00:00
R. Ryantm
551bea6443 mapproxy: 3.1.0 -> 3.1.2 2024-11-25 00:35:38 +00:00
Anders Kaseorg
2a6bf99e78 linuxPackages.openafs: Patch for Linux kernel 6.12.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-11-24 14:58:40 -08:00
oddlama
91cbd96ffe
kanidm: allow hydra to cache alternative build with secret provisioning 2024-11-24 19:24:43 +01:00
George Macon
73307b55a1 cwtch-ui: init at 1.15.1 2024-11-24 10:03:08 -05:00
George Macon
a53505b452 cwtch: init at 0.1.3 2024-11-24 10:03:08 -05:00
Wolfgang Walther
e36b87dce3
pg_top: nixfmt 2024-11-24 12:14:22 +01:00
Wolfgang Walther
c73e275bfa
pg_top: 3.7.0 -> 4.1.0
Changelog:
https://gitlab.com/pg_top/pg_top/-/blob/main/HISTORY.rst
2024-11-24 12:12:42 +01:00
Samuel Tardieu
d1761537ac rabbitmq-server: move to by-name hierarchy 2024-11-24 10:21:49 +01:00
Samuel Tardieu
ec7e617440 rabbitmq-server: use the latest compatible Erlang version 2024-11-24 10:21:49 +01:00
Samuel Tardieu
13b508e968 rabbitmq-server: 4.0.2 → 4.0.4
Diff: https://github.com/rabbitmq/rabbitmq-server/compare/v4.0.2...v4.0.4
2024-11-24 10:21:49 +01:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09:00
Aaron Jheng
3e8d408a5e
mysql-shell{,_8,-innovation}: format with nixfmt 2024-11-24 10:47:09 +08:00
R. Ryantm
198e6f212e python312Packages.inform: 1.31 -> 1.32 2024-11-23 16:28:05 +00:00
OPNA2608
ee25f37003 gkraken,nixos/gkraken: Drop
It was switched to maintenance mode on 2020-12-09[1], and marked deprecated in favour of Coolero/CoolerControl on 2022-02-23[2].

We have CoolerControl packaged since 24.05[3], so we can now drop gkraken.

[1]: https://gitlab.com/leinardi/gkraken/-/releases/0.14.5
[2]: https://gitlab.com/leinardi/gkraken/-/releases/1.2.0
[3]: c981cb00dd
2024-11-23 14:40:23 +01:00
R. Ryantm
0b8b1b5273 python312Packages.click-odoo-contrib: 1.19 -> 1.20 2024-11-23 06:54:14 +00:00
Aaron Jheng
92222bebc3
trunk-io: 1.3.2 -> 1.3.4 2024-11-23 11:30:31 +08:00
Aaron Jheng
9f4511da1a
trunk-io: format with nixfmt 2024-11-23 11:28:48 +08:00
Patrick
efad626197
tesseract: 5.3.4 -> 5.5.0 2024-11-22 21:33:42 +01:00
Patrick
494d5c1958
pytesseract: disable tests broken on tesseract 5.5.0 2024-11-22 21:33:42 +01:00
OPNA2608
652d9def63 fire: Move to pkgs/by-name 2024-11-22 17:04:12 +01:00
OPNA2608
f5afe5b452 fire: Modernise, nixfmt 2024-11-22 17:02:36 +01:00
OPNA2608
b8c9d52b84 fire: 1.0.0.3 -> 1.0.1-unstable-2024-10-22 2024-11-22 17:02:32 +01:00
Emil Lindqvist
f3ea13c879
jetbrains.rider: Use unwrapped location of sdk
Rider needs the location of the actual sdk to function. This commit uses the unwrapped sdk location instead of the wrapper which causes errors on startup of Rider. The issue makes it impossible to use Rider in practice.
2024-11-22 17:00:30 +01:00
R. Ryantm
f6d43fcff8 proxmark3: 4.18994 -> 4.19552 2024-11-22 15:39:59 +00:00
OPNA2608
fbc630fc15 dexed: Move to pkgs/by-name 2024-11-22 16:07:13 +01:00
OPNA2608
4ffa98835d dexed: Modernise, nixfmt 2024-11-22 15:59:38 +01:00
OPNA2608
3f8bf41b93 dexed: unstable-2022-07-09 -> 0.9.8 2024-11-22 15:55:48 +01:00
Patrick
936c762b8e
tesseract: add patrickdag as maintainer 2024-11-22 14:50:04 +01:00
Patrick
ff51f58e1d
tesseract: format 2024-11-22 14:50:02 +01:00
Reno Dakota
ea103a02af
libstroke: fix build with gcc14
> stroke.c:267:5: error: implicit declaration of function 'strcpy'

fix by including `string.h`. code seems abandoned but is still used by a
handful of packages.
2024-11-22 13:40:58 +00:00
Gaetan Lepage
697286bf4d nagstamon: format
Co-authored-by: liberodark <liberodark@gmail.com>
2024-11-22 00:31:28 +01:00
Gaetan Lepage
250ac961c1 nagstamon: move to by-name
Co-authored-by: liberodark <liberodark@gmail.com>
2024-11-22 00:31:21 +01:00
R. Ryantm
abc5566af9 amazon-cloudwatch-agent: 1.300049.1 -> 1.300050.0 2024-11-21 13:31:14 +00:00
Fabian Affolter
d87419737d python312Packages.libcst: 1.5.0 -> 1.5.1
Diff: https://github.com/Instagram/LibCST/compare/refs/tags/v1.5.0...v1.5.1

Changelog: https://github.com/Instagram/LibCST/blob/v1.5.1/CHANGELOG.md
2024-11-21 12:02:21 +01:00
R. Ryantm
4814bb478f seclists: 2024.3 -> 2024.4 2024-11-20 20:36:07 +00:00
Domen Kožar
5f4f671862 tesh: fix build 2024-11-20 18:51:43 +00:00
R. Ryantm
58600bbcf9 notepad-next: 0.8 -> 0.9 2024-11-20 17:02:37 +00:00
Kenichi Kamiya
bbaf0abf9c
fishnet: add passthru.tests.version 2024-11-20 18:28:49 +09:00
Kenichi Kamiya
21eb9f187e
fishnet: format with nixfmt-rfc-style 2024-11-20 18:26:57 +09:00
Kenichi Kamiya
5a4df0c14f
bfg-repo-cleaner: add passthru.tests.version 2024-11-20 16:54:15 +09:00
Kenichi Kamiya
8ad7b50bf8
bfg-repo-cleaner: format with nixfmt-rfc-style 2024-11-20 16:52:34 +09:00
Sergei Trofimovich
009bee2d92 ncdu: 2.6 -> 2.7
Changes: https://dev.yorhel.nl/ncdu/changes2
2024-11-20 06:39:22 +00:00
Kenichi Kamiya
ad430b1b09
rainfrog: add passthru.tests.version 2024-11-20 10:51:20 +09:00
Kenichi Kamiya
6e397f45c2
rainfrog: 0.2.9 -> 0.2.10 2024-11-20 10:33:56 +09:00
Noam Yorav-Raphael
05baf00899 ponysay: fix SyntaxWarning
Currently when running ponysay, you get this warning twice:

```
/nix/store/.../bin/ponysay/balloon.py:43: SyntaxWarning: invalid escape sequence '\-'
```

It is caused by a docstring containing twice the phrase `\-directional`.

The fix is just to make it a raw string (replace `'''` with `r'''`).
2024-11-19 23:55:17 +02:00
R. Ryantm
4f681fdcdd amiri: 1.000 -> 1.001 2024-11-19 14:42:03 +00:00
Sergei Trofimovich
21dea5914a waypipe: 0.9.1 -> 0.9.2
Changes: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.9.2
2024-11-19 06:57:50 +00:00
techknowlogick
34941a6aa4 step-ca: 0.27.5 -> 0.28.0
Diff: https://github.com/smallstep/certificates/compare/refs/tags/v0.27.5...v0.28.0

Changelog: https://github.com/smallstep/certificates/releases/tag/v0.28.0
2024-11-18 16:09:35 -05:00
Joshua Trees
b5c19b4cb0 fuzzel: support building with librsvg backend 2024-11-18 21:57:27 +01:00
Kenichi Kamiya
05a28af51b
.github/labeler.yml: add ruby label for gem changes 2024-11-19 02:27:44 +09:00
Noa Aarts
97954a8515
quill: remove with lib from meta 2024-11-18 12:13:40 +01:00
Noa Aarts
b5938e6b8c
quill: 0.2.17 -> 0.5.1 2024-11-18 12:13:39 +01:00
Noa Aarts
16ec17e630
quill: use useFetchCargoVendor 2024-11-18 10:37:58 +01:00
Noa Aarts
3d728b1d9a
quill: format using nixfmt 2024-11-18 10:37:37 +01:00
R. Ryantm
b143a809ea
gping: 1.17.3 -> 1.18.0 2024-11-17 08:40:09 -05:00
Kenichi Kamiya
500c708ba6
act: add passthru.tests.version 2024-11-16 14:45:19 +09:00
Kenichi Kamiya
30610d3d1f
nb: add updateScript 2024-11-16 12:26:23 +09:00
Kenichi Kamiya
4de62b4c0f
nb: add passthru.tests.version 2024-11-16 12:15:03 +09:00
Anugrah
9a9707a8b7 maintainers: add anugrahn1 2024-11-14 15:57:12 -08:00
Matteo Pacini
74458684bd bluej: nixfmt-rfc-style 2024-11-14 21:58:18 +00:00
Matteo Pacini
8bc4908f5c bluej: with lib; cleanup 2024-11-14 21:57:13 +00:00
Matteo Pacini
780c0bbdea bluej: move to pkgs/by-name 2024-11-14 21:56:23 +00:00
R. Ryantm
cb14281e11 archi: 5.3.0 -> 5.4.3 2024-11-14 15:09:52 +00:00
Adrian Gierakowski
f621753b76 flatten_references_graph: remove unused fixture and all real /nix/store paths from tests 2024-11-12 08:41:23 +00:00
Adrian Gierakowski
6cecfd8ad7 docker-tool: fix maxLayers assert 2024-11-11 18:45:13 +00:00
Tobias Mayer
9af38b4ee1 caf: apply formatting 2024-11-10 04:31:19 +01:00
Adrian Gierakowski
5b4a8db4d9 build-support/docker: customisable layering strategy
Allow customisation of the algorithm used to convert nix references
graph (created from docker image contents) to docker layers.

A collection of building blocks (python functions) is provided, which
use can assembled into a processing pipeline by specifying a list of
operations (and their initial arguments) via a nix list.

Nix references graph if first converted into a python igraph.Graph
object (with each vertex representing a nix path), which is then fed
into the user defined pipeline. Each stage in the pipeline represents a
function call, with initial arguments specified by the user in nix, and
the last argument being the result of the previous stage in the pipeline
(or the initial Graph object). Each step of the pipeline is expected to
produce a data structure consisting of arbitrarily  nested lists/dicts
with Graph objects (representing docker layers) at it's leafs. The
result of the last stage in the pipeline is recursively flattened (with
each dict converted into list of values), until a flat list of Graphs
remains. This is then output as a json array of arrays (each Graph
converted into an array of paths).

This functionality is made available via new `layeringPipeline` argument
to the `streamLayeredImage`/`buildLayeredImage` functions. The default
value of the argument has been chosen to to preserve current layering
behaviour.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-11-09 16:21:48 +00:00
TomaSajt
10959a8288
gancioPlugins.telegram-bridge: remove mkYarnPackage usage 2024-11-05 22:51:05 +01:00
TomaSajt
6bd3ff7838
gancio: remove mkYarnPackage usage 2024-11-05 22:39:19 +01:00
Wolfgang Walther
3c21a5c9d6
lib/systems: elaborate properly with non-matching system / config / parsed args
When elaborating a system with both "config" and "system" arguments
given, they might not match the parsed results.  Example:

elaborate {
  config = "i686-unknown-linux-gnu";
  system = "x86_64-linux";
}

This would result in a parsed system for i686, because the config
argument is preferred.  But since "// args //" comes after system has
been inferred from parsed, it is overwritten again.  This results in
config and parsed all pointing to i686, while system still tells the
story of x86_64.

Inconsistent arguments can also be given when passing "parsed" directly.
This happened in stage.nix for the various package sets.

The solution is simple: One of the three arguments needs to be treated
as the ultimate source of truth.  "system" can already be losslessly
extracted from "parsed".  However, "config" currently can not, for
example for various -mingw32 cases.  Thus everything must be derived
from "config".

To do so, "system" and "parsed" arguments are made non-overrideable for
systems.elaborate.  This means, that "system" will be used to parse when
"config" is not given - and "parsed" will be ignored entirely.

The systemToAttrs helper is exposed on lib.systems, because it's useful
to deal with top-level localSystem / crossSystem arguments elsewhere.
2024-11-03 17:38:19 +01:00
Matt Perlman
42ac7b2428 nixos/networkd: add dhcpServerConfig.PersistLeases option
PersistLeases was added to networkd version 256 (https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#PersistLeases=)
2024-11-02 13:55:14 -04:00
Funkeleinhorn
0d2187f1b2
halloy: fix add halloy url scheme handler
halloy also registers the halloy:// scheme handler
and uses it for example to share themes. This commit adds
this scheme handler so halloy:// urls can be opened on NixOS.
2024-10-27 17:21:27 +01:00
js6pak
4d0407614d
rider: add avalonia libs needed for dotMemory 2024-10-13 23:40:41 +02:00
Ben Siraphob
f6c2abe751
python3Packages.pyflipper: init at 0.18-unstable-2024-04-15 2024-09-23 12:46:22 -04:00
Thiago Kenji Okada
1c79bffa29
ciscoPacketTracer{7,8}: re-add with maintainers 2024-09-18 16:59:41 +01:00
lucasew
e383d67656 ciscoPacketTracer8: disown
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-09-16 14:00:39 -03:00
lucasew
005fca6532 ciscoPacketTracer7: disown
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-09-16 14:00:20 -03:00
lucasew
722137f9ea shadershark: simplify update script
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-09-16 13:23:23 -03:00
Finn Behrens
55e7c6155a nixos/moodle: update to php83 2024-09-02 20:04:33 +02:00
Finn Behrens
c4f70c3c27 moodle: 4.4.1 -> 4.4.3 2024-09-02 20:04:33 +02:00
Nick Cao
ee051d65f3
nixos/networkd: add L3MasterDevice option to [RoutingPolicyRule] section 2024-07-28 10:25:35 -04:00
Nick Cao
38d02e4ecd
nixos/networkd add IPv4ProxyARPPrivateVLAN option to [Network] section 2024-07-28 10:25:34 -04:00
Nick Cao
402699d00e
nixos/networkd: add IPv6RetransmissionTimeSec option to [Network] section 2024-07-28 10:25:33 -04:00
Ivar Larsson
063943c214
emulationstation-de: 2.2.1 -> 3.0.2 2024-05-13 16:24:08 -04:00
Sven Friedrich
cd75ec216a
nixos/networkd: allow configuring RTTSec for CAKE qdisc 2024-02-02 09:23:13 +01:00
829 changed files with 15663 additions and 17300 deletions

View File

@ -204,5 +204,11 @@ ce21e97a1f20dee15da85c084f9d1148d84f853b
# sqlc: format with nixfmt
2bdec131b2bb2c8563f4556d741d34ccb77409e2
# ant: format with nixfmt-rfc-style
2538d58436b8d0b56d29780aeebf4bf720ddb9ea
# treewide: migrate packages to pkgs/by-name, take 1
571c71e6f73af34a229414f51585738894211408
# format files with nixfmt (#347275)
adb9714bd909df283c66bbd641bd631ff50a4260

3
.github/labeler.yml vendored
View File

@ -194,7 +194,7 @@
- pkgs/by-name/ma/maven/**/*
- doc/languages-frameworks/maven.section.md
# Ant
- pkgs/by-name/ap/apacheAnt/**/*
- pkgs/by-name/an/ant/**/*
# javaPackages attrset
- pkgs/development/java-modules/**/*
- pkgs/top-level/java-packages.nix
@ -445,6 +445,7 @@
- doc/languages-frameworks/ruby.section.md
- pkgs/development/interpreters/ruby/**/*
- pkgs/development/ruby-modules/**/*
- pkgs/top-level/ruby-packages.nix
"6.topic: rust":
- any:

View File

@ -2,6 +2,9 @@ name: "Check shell"
on:
pull_request_target:
paths:
- 'shell.nix'
- 'ci/**'
permissions: {}

View File

@ -1,6 +1,16 @@
name: Eval
on: pull_request_target
on:
pull_request_target:
push:
# Keep this synced with ci/request-reviews/dev-branches.txt
branches:
- master
- staging
- release-*
- staging-*
- haskell-updates
- python-updates
permissions:
contents: read
@ -11,6 +21,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
mergedSha: ${{ steps.merged.outputs.mergedSha }}
baseSha: ${{ steps.baseSha.outputs.baseSha }}
systems: ${{ steps.systems.outputs.systems }}
steps:
# Important: Because of `pull_request_target`, this doesn't check out the PR,
@ -24,14 +35,22 @@ jobs:
id: merged
env:
GH_TOKEN: ${{ github.token }}
GH_EVENT: ${{ github.event_name }}
run: |
if mergedSha=$(base/ci/get-merge-commit.sh ${{ github.repository }} ${{ github.event.number }}); then
echo "Checking the merge commit $mergedSha"
echo "mergedSha=$mergedSha" >> "$GITHUB_OUTPUT"
else
# Skipping so that no notifications are sent
echo "Skipping the rest..."
fi
case "$GH_EVENT" in
push)
echo "mergedSha=${{ github.sha }}" >> "$GITHUB_OUTPUT"
;;
pull_request_target)
if mergedSha=$(base/ci/get-merge-commit.sh ${{ github.repository }} ${{ github.event.number }}); then
echo "Checking the merge commit $mergedSha"
echo "mergedSha=$mergedSha" >> "$GITHUB_OUTPUT"
else
# Skipping so that no notifications are sent
echo "Skipping the rest..."
fi
;;
esac
rm -rf base
- name: Check out the PR at the test merge commit
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@ -39,8 +58,16 @@ jobs:
if: steps.merged.outputs.mergedSha
with:
ref: ${{ steps.merged.outputs.mergedSha }}
fetch-depth: 2
path: nixpkgs
- name: Determine base commit
if: github.event_name == 'pull_request_target' && steps.merged.outputs.mergedSha
id: baseSha
run: |
baseSha=$(git -C nixpkgs rev-parse HEAD^1)
echo "baseSha=$baseSha" >> "$GITHUB_OUTPUT"
- name: Install Nix
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
if: steps.merged.outputs.mergedSha
@ -105,6 +132,8 @@ jobs:
name: Process
runs-on: ubuntu-latest
needs: [ outpaths, attrs ]
outputs:
baseRunId: ${{ steps.baseRunId.outputs.baseRunId }}
steps:
- name: Download output paths and eval stats for all systems
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
@ -124,18 +153,117 @@ jobs:
- name: Combine all output paths and eval stats
run: |
nix-build nixpkgs/ci -A eval.combine \
--arg resultsDir ./intermediate
--arg resultsDir ./intermediate \
-o prResult
- name: Upload the combined results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: result
path: result/*
path: prResult/*
- name: Get base run id
if: needs.attrs.outputs.baseSha
id: baseRunId
run: |
# Get the latest eval.yml workflow run for the PR's base commit
if ! run=$(gh api --method GET /repos/"$REPOSITORY"/actions/workflows/eval.yml/runs \
-f head_sha="$BASE_SHA" -f event=push \
--jq '.workflow_runs | sort_by(.run_started_at) | .[-1]') \
|| [[ -z "$run" ]]; then
echo "Could not find an eval.yml workflow run for $BASE_SHA, cannot make comparison"
exit 0
fi
echo "Comparing against $(jq .html_url <<< "$run")"
runId=$(jq .id <<< "$run")
conclusion=$(jq -r .conclusion <<< "$run")
# TODO: Run this workflow also on `push` (on at least the main development branches)
# Then add an extra step here that waits for the base branch (not the merge base, because that could be very different)
# to have completed the eval, then use
# gh api --method GET /repos/NixOS/nixpkgs/actions/workflows/eval.yml/runs -f head_sha=<BASE>
# and follow it to the artifact results, where you can then download the outpaths.json from the base branch
# That can then be used to compare the number of changed paths, get evaluation stats and ping appropriate reviewers
while [[ "$conclusion" == null ]]; do
echo "Workflow not done, waiting 10 seconds before checking again"
sleep 10
conclusion=$(gh api /repos/"$REPOSITORY"/actions/runs/"$runId" --jq '.conclusion')
done
if [[ "$conclusion" != "success" ]]; then
echo "Workflow was not successful, cannot make comparison"
exit 0
fi
echo "baseRunId=$runId" >> "$GITHUB_OUTPUT"
env:
REPOSITORY: ${{ github.repository }}
BASE_SHA: ${{ needs.attrs.outputs.baseSha }}
GH_TOKEN: ${{ github.token }}
- uses: actions/download-artifact@v4
if: steps.baseRunId.outputs.baseRunId
with:
name: result
path: baseResult
github-token: ${{ github.token }}
run-id: ${{ steps.baseRunId.outputs.baseRunId }}
- name: Compare against the base branch
if: steps.baseRunId.outputs.baseRunId
run: |
nix-build nixpkgs/ci -A eval.compare \
--arg beforeResultDir ./baseResult \
--arg afterResultDir ./prResult \
-o comparison
# TODO: Request reviews from maintainers for packages whose files are modified in the PR
- name: Upload the combined results
if: steps.baseRunId.outputs.baseRunId
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: comparison
path: comparison/*
# Separate job to have a very tightly scoped PR write token
tag:
name: Tag
runs-on: ubuntu-latest
needs: process
if: needs.process.outputs.baseRunId
permissions:
pull-requests: write
steps:
- name: Download process result
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: comparison
path: comparison
- name: Tagging pull request
run: |
# Get all currently set rebuild labels
gh api \
/repos/"$REPOSITORY"/issues/"$NUMBER"/labels \
--jq '.[].name | select(startswith("10.rebuild"))' \
| sort > before
# And the labels that should be there
jq -r '.labels[]' comparison/changed-paths.json \
| sort > after
# Remove the ones not needed anymore
while read -r toRemove; do
echo "Removing label $toRemove"
gh api \
--method DELETE \
/repos/"$REPOSITORY"/issues/"$NUMBER"/labels/"$toRemove"
done < <(comm -23 before after)
# And add the ones that aren't set already
while read -r toAdd; do
echo "Adding label $toAdd"
gh api \
--method POST \
/repos/"$REPOSITORY"/issues/"$NUMBER"/labels \
-f "labels[]=$toAdd"
done < <(comm -13 before after)
env:
GH_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
NUMBER: ${{ github.event.number }}

View File

@ -14,6 +14,7 @@ Jörg Thalheim <joerg@thalheim.io> <Mic92@users.noreply.github.com>
Lin Jian <me@linj.tech> <linj.dev@outlook.com>
Lin Jian <me@linj.tech> <75130626+jian-lin@users.noreply.github.com>
Martin Weinelt <hexa@darmstadt.ccc.de> <mweinelt@users.noreply.github.com>
moni <lythe1107@gmail.com> <lythe1107@icloud.com>
R. RyanTM <ryantm-bot@ryantm.com>
Robert Hensing <robert@roberthensing.nl> <roberth@users.noreply.github.com>
Sandro Jäckel <sandro.jaeckel@gmail.com>

View File

@ -345,7 +345,7 @@ See [Nix Channel Status](https://status.nixos.org/) for the current channels and
Here's a brief overview of the main Git branches and what channels they're used for:
- `master`: The main branch, used for the unstable channels such as `nixpkgs-unstable`, `nixos-unstable` and `nixos-unstable-small`.
- `release-YY.MM` (e.g. `release-24.11`): The NixOS release branches, used for the stable channels such as `nixos-24.11`, `nixos-24.11-small` and `nixpkgs-24.11-darwin`.
- `release-YY.MM` (e.g. `release-25.05`): The NixOS release branches, used for the stable channels such as `nixos-25.05`, `nixos-25.05-small` and `nixpkgs-25.05-darwin`.
When a channel is updated, a corresponding Git branch is also updated to point to the corresponding commit.
So e.g. the [`nixpkgs-unstable` branch](https://github.com/nixos/nixpkgs/tree/nixpkgs-unstable) corresponds to the Git commit from the [`nixpkgs-unstable` channel](https://channels.nixos.org/nixpkgs-unstable).

View File

@ -52,9 +52,9 @@ Nixpkgs and NixOS are built and tested by our continuous integration
system, [Hydra](https://hydra.nixos.org/).
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for the NixOS 24.05 release](https://hydra.nixos.org/jobset/nixos/release-24.05)
* [Continuous package builds for the NixOS 24.11 release](https://hydra.nixos.org/jobset/nixos/release-24.11)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for the NixOS 24.05 release](https://hydra.nixos.org/job/nixos/release-24.05/tested#tabs-constituents)
* [Tests for the NixOS 24.11 release](https://hydra.nixos.org/job/nixos/release-24.11/tested#tabs-constituents)
Artifacts successfully built with Hydra are published to cache at
https://cache.nixos.org/. When successful build and test criteria are

152
ci/eval/compare.jq Normal file
View File

@ -0,0 +1,152 @@
# Turns
#
# {
# "hello.aarch64-linux": "a",
# "hello.x86_64-linux": "b",
# "hello.aarch64-darwin": "c",
# "hello.x86_64-darwin": "d"
# }
#
# into
#
# {
# "hello": {
# "linux": {
# "aarch64": "a",
# "x86_64": "b"
# },
# "darwin": {
# "aarch64": "c",
# "x86_64": "d"
# }
# }
# }
#
# while filtering out any attribute paths that don't match this pattern
def expand_system:
to_entries
| map(
.key |= split(".")
| select(.key | length > 1)
| .double = (.key[-1] | split("-"))
| select(.double | length == 2)
)
| group_by(.key[0:-1])
| map(
{
key: .[0].key[0:-1] | join("."),
value:
group_by(.double[1])
| map(
{
key: .[0].double[1],
value: map(.key = .double[0]) | from_entries
}
)
| from_entries
})
| from_entries
;
# Transposes
#
# {
# "a": [ "x", "y" ],
# "b": [ "x" ],
# }
#
# into
#
# {
# "x": [ "a", "b" ],
# "y": [ "a" ]
# }
def transpose:
[
to_entries[]
| {
key: .key,
value: .value[]
}
]
| group_by(.value)
| map({
key: .[0].value,
value: map(.key)
})
| from_entries
;
# Computes the key difference for two objects:
# {
# added: [ <keys only in the second object> ],
# removed: [ <keys only in the first object> ],
# changed: [ <keys with different values between the two objects> ],
# }
#
def diff($before; $after):
{
added: $after | delpaths($before | keys | map([.])) | keys,
removed: $before | delpaths($after | keys | map([.])) | keys,
changed:
$before
| to_entries
| map(
$after."\(.key)" as $after2
| select(
# Filter out attributes that don't exist anymore
($after2 != null)
and
# Filter out attributes that are the same as the new value
(.value != $after2)
)
| .key
)
}
;
($before[0] | expand_system) as $before
| ($after[0] | expand_system) as $after
| .attrdiff = diff($before; $after)
| .rebuildsByKernel = (
.attrdiff.changed
| map({
key: .,
value: diff($before."\(.)"; $after."\(.)").changed
})
| from_entries
| transpose
)
| .rebuildCountByKernel = (
.rebuildsByKernel
| with_entries(.value |= length)
| pick(.linux, .darwin)
| {
linux: (.linux // 0),
darwin: (.darwin // 0),
}
)
| .labels = (
.rebuildCountByKernel
| to_entries
| map(
"10.rebuild-\(.key): " +
if .value == 0 then
"0"
elif .value <= 10 then
"1-10"
elif .value <= 100 then
"11-100"
elif .value <= 500 then
"101-500"
elif .value <= 1000 then
"501-1000"
elif .value <= 2500 then
"1001-2500"
elif .value <= 5000 then
"2501-5000"
else
"5000+"
end
)
)

View File

@ -50,8 +50,12 @@ let
export GC_INITIAL_HEAP_SIZE=4g
command time -v \
nix-instantiate --eval --strict --json --show-trace \
$src/pkgs/top-level/release-attrpaths-superset.nix -A paths \
--arg enableWarnings false > $out/paths.json
"$src/pkgs/top-level/release-attrpaths-superset.nix" \
-A paths \
-I "$src" \
--option restrict-eval true \
--option allow-import-from-derivation false \
--arg enableWarnings false > $out/paths.json
mv "$supportedSystemsPath" $out/systems.json
'';
@ -84,6 +88,8 @@ let
set +e
command time -f "Chunk $myChunk on $system done [%MKB max resident, %Es elapsed] %C" \
nix-env -f "${nixpkgs}/pkgs/top-level/release-attrpaths-parallel.nix" \
--option restrict-eval true \
--option allow-import-from-derivation false \
--query --available \
--no-name --attr-path --out-path \
--show-trace \
@ -93,6 +99,8 @@ let
--arg systems "[ \"$system\" ]" \
--arg checkMeta ${lib.boolToString checkMeta} \
--arg includeBroken ${lib.boolToString includeBroken} \
-I ${nixpkgs} \
-I ${attrpathFile} \
> "$outputDir/result/$myChunk"
exitCode=$?
set -e
@ -238,6 +246,24 @@ let
jq -s from_entries > $out/stats.json
'';
compare =
{ beforeResultDir, afterResultDir }:
runCommand "compare"
{
nativeBuildInputs = [
jq
];
}
''
mkdir $out
jq -n -f ${./compare.jq} \
--slurpfile before ${beforeResultDir}/outpaths.json \
--slurpfile after ${afterResultDir}/outpaths.json \
> $out/changed-paths.json
# TODO: Compare eval stats
'';
full =
{
# Whether to evaluate just a single system, by default all are evaluated
@ -268,6 +294,7 @@ in
attrpathsSuperset
singleSystem
combine
compare
# The above three are used by separate VMs in a GitHub workflow,
# while the below is intended for testing on a single local machine
full

View File

@ -1,7 +1,9 @@
# Trusted development branches:
# These generally require PRs to update and are built by Hydra.
# Keep this synced with the branches in .github/workflows/eval.yml
master
staging
release-*
staging-*
haskell-updates
python-updates

View File

@ -9,6 +9,8 @@
mkShellNoCC,
documentation-highlighter,
nixos-render-docs,
nixos-render-docs-redirects,
writeShellScriptBin,
nixpkgs ? { },
}:
@ -105,8 +107,14 @@ stdenvNoCC.mkDerivation (
buildArgs = "./.";
open = "/share/doc/nixpkgs/manual.html";
};
nixos-render-docs-redirects' = writeShellScriptBin "redirects" "${lib.getExe nixos-render-docs-redirects} --file ${toString ../redirects.json} $@";
in
mkShellNoCC { packages = [ devmode' ]; };
mkShellNoCC {
packages = [
devmode'
nixos-render-docs-redirects'
];
};
tests.manpage-urls = callPackage ../tests/manpage-urls.nix { };
};

View File

@ -6,9 +6,9 @@ let
filterAttrs
foldl
hasInfix
isAttrs
isFunction
isList
isString
mapAttrs
optional
optionalAttrs
@ -55,24 +55,34 @@ let
*/
flakeExposed = import ./flake-systems.nix { };
# Turn localSystem or crossSystem, which could be system-string or attrset, into
# attrset.
systemToAttrs = systemOrArgs:
if isAttrs systemOrArgs then systemOrArgs else { system = systemOrArgs; };
# Elaborate a `localSystem` or `crossSystem` so that it contains everything
# necessary.
#
# `parsed` is inferred from args, both because there are two options with one
# clearly preferred, and to prevent cycles. A simpler fixed point where the RHS
# always just used `final.*` would fail on both counts.
elaborate = args': let
args = if isString args' then { system = args'; }
else args';
elaborate = systemOrArgs: let
allArgs = systemToAttrs systemOrArgs;
# Those two will always be derived from "config", if given, so they should NOT
# be overridden further down with "// args".
args = builtins.removeAttrs allArgs [ "parsed" "system" ];
# TODO: deprecate args.rustc in favour of args.rust after 23.05 is EOL.
rust = args.rust or args.rustc or {};
final = {
# Prefer to parse `config` as it is strictly more informative.
parsed = parse.mkSystemFromString (if args ? config then args.config else args.system);
# Either of these can be losslessly-extracted from `parsed` iff parsing succeeds.
parsed = parse.mkSystemFromString (args.config or allArgs.system);
# This can be losslessly-extracted from `parsed` iff parsing succeeds.
system = parse.doubleFromSystem final.parsed;
# TODO: This currently can't be losslessly-extracted from `parsed`, for example
# because of -mingw32.
config = parse.tripleFromSystem final.parsed;
# Determine whether we can execute binaries built for the provided platform.
canExecute = platform:
@ -435,5 +445,6 @@ in
inspect
parse
platforms
systemToAttrs
;
}

View File

@ -78,6 +78,18 @@ lib.runTests (
expr = toLosslessStringMaybe (lib.systems.elaborate "x86_64-linux" // { something = "extra"; });
expected = null;
};
test_elaborate_config_over_system = {
expr = (lib.systems.elaborate { config = "i686-unknown-linux-gnu"; system = "x86_64-linux"; }).system;
expected = "i686-linux";
};
test_elaborate_config_over_parsed = {
expr = (lib.systems.elaborate { config = "i686-unknown-linux-gnu"; parsed = (lib.systems.elaborate "x86_64-linux").parsed; }).parsed.cpu.arch;
expected = "i686";
};
test_elaborate_system_over_parsed = {
expr = (lib.systems.elaborate { system = "i686-linux"; parsed = (lib.systems.elaborate "x86_64-linux").parsed; }).parsed.cpu.arch;
expected = "i686";
};
}
# Generate test cases to assert that a change in any non-function attribute makes a platform unequal

View File

@ -1313,7 +1313,6 @@
name = "Wroclaw";
};
amuckstot30 = {
email = "amuckstot30@tutanota.com";
github = "amuckstot30";
githubId = 157274630;
name = "amuckstot30";
@ -1625,6 +1624,12 @@
githubId = 4194320;
name = "Anton Schirg";
};
anugrahn1 = {
email = "pnanugrah@gmail.com";
github = "anugrahn1";
githubId = 117428605;
name = "Anugrah Naranatt";
};
anytimetraveler = {
email = "simon@simonscode.org";
github = "AnyTimeTraveler";
@ -4800,6 +4805,12 @@
name = "Dov Alperin";
keys = [ { fingerprint = "4EED 5096 B925 86FA 1101 6673 7F2C 07B9 1B52 BB61"; } ];
};
damhiya = {
name = "SoonWon Moon";
email = "damhiya@gmail.com";
github = "damhiya";
githubId = 13533446;
};
DamienCassou = {
email = "damien@cassou.me";
github = "DamienCassou";
@ -13732,7 +13743,6 @@
github = "matthewpi";
githubId = 26559841;
name = "Matthew Penner";
keys = [ { fingerprint = "5118 F1CC B7B0 6C17 4DD1 5267 3131 1906 AD4C F6D6"; } ];
};
matthiasbenaets = {
email = "matthias.benaets@gmail.com";
@ -16795,6 +16805,11 @@
githubId = 33826198;
name = "Philipp Arras";
};
parth = {
github = "parth";
githubId = 821972;
name = "Parth Mehrotra";
};
pashashocky = {
email = "pashashocky@gmail.com";
github = "pashashocky";
@ -21192,12 +21207,6 @@
githubId = 1694705;
name = "Sam Stites";
};
stnley = {
email = "michael@stnley.io";
github = "stnley";
githubId = 64174376;
name = "Michael Stanley";
};
strager = {
email = "strager.nds@gmail.com";
github = "strager";
@ -23347,6 +23356,13 @@
name = "Vinicius Bernardino";
keys = [ { fingerprint = "F0D3 920C 722A 541F 0CCD 66E3 A7BA BA05 3D78 E7CA"; } ];
};
vog = {
email = "v@njh.eu";
github = "vog";
githubId = 412749;
name = "Volker Diels-Grabsch";
keys = [ { fingerprint = "A7E6 9C4F 69DC 5D6C FC84 EE34 A29F BD51 5F89 90AF"; } ];
};
voidless = {
email = "julius.schmitt@yahoo.de";
github = "voidIess";

View File

@ -6,7 +6,7 @@ expressions and associated binaries. The NixOS channels are updated
automatically from NixOS's Git repository after certain tests have
passed and all packages have been built. These channels are:
- *Stable channels*, such as [`nixos-24.05`](https://channels.nixos.org/nixos-24.05).
- *Stable channels*, such as [`nixos-24.11`](https://channels.nixos.org/nixos-24.11).
These only get conservative bug fixes and package upgrades. For
instance, a channel update may cause the Linux kernel on your system
to be upgraded from 4.19.34 to 4.19.38 (a minor bug fix), but not
@ -19,7 +19,7 @@ passed and all packages have been built. These channels are:
radical changes between channel updates. It's not recommended for
production systems.
- *Small channels*, such as [`nixos-24.05-small`](https://channels.nixos.org/nixos-24.05-small)
- *Small channels*, such as [`nixos-24.11-small`](https://channels.nixos.org/nixos-24.11-small)
or [`nixos-unstable-small`](https://channels.nixos.org/nixos-unstable-small).
These are identical to the stable and unstable channels described above,
except that they contain fewer binary packages. This means they get updated
@ -38,8 +38,8 @@ supported stable release.
When you first install NixOS, you're automatically subscribed to the
NixOS channel that corresponds to your installation source. For
instance, if you installed from a 24.05 ISO, you will be subscribed to
the `nixos-24.05` channel. To see which NixOS channel you're subscribed
instance, if you installed from a 24.11 ISO, you will be subscribed to
the `nixos-24.11` channel. To see which NixOS channel you're subscribed
to, run the following as root:
```ShellSession
@ -54,16 +54,16 @@ To switch to a different NixOS channel, do
```
(Be sure to include the `nixos` parameter at the end.) For instance, to
use the NixOS 24.05 stable channel:
use the NixOS 24.11 stable channel:
```ShellSession
# nix-channel --add https://channels.nixos.org/nixos-24.05 nixos
# nix-channel --add https://channels.nixos.org/nixos-24.11 nixos
```
If you have a server, you may want to use the "small" channel instead:
```ShellSession
# nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
# nix-channel --add https://channels.nixos.org/nixos-24.11-small nixos
```
And if you want to live on the bleeding edge:
@ -117,6 +117,6 @@ modules. You can also specify a channel explicitly, e.g.
```nix
{
system.autoUpgrade.channel = "https://channels.nixos.org/nixos-24.05";
system.autoUpgrade.channel = "https://channels.nixos.org/nixos-24.11";
}
```

View File

@ -1868,6 +1868,21 @@
"sec-release-24.11-migration-dto-compatible": [
"release-notes.html#sec-release-24.11-migration-dto-compatible"
],
"sec-release-24.11-wiki": [
"release-notes.html#sec-release-24.11-wiki"
],
"sec-release-24.11-lib": [
"release-notes.html#sec-release-24.11-lib"
],
"sec-release-24.11-lib-breaking": [
"release-notes.html#sec-release-24.11-lib-breaking"
],
"sec-release-24.11-lib-additions-improvements": [
"release-notes.html#sec-release-24.11-lib-additions-improvements"
],
"sec-release-24.11-lib-deprecations": [
"release-notes.html#sec-release-24.11-lib-deprecations"
],
"sec-release-24.05": [
"release-notes.html#sec-release-24.05"
],

View File

@ -1,4 +1,4 @@
# Release 24.11 (“Vicuña”, 2024.11/??) {#sec-release-24.11}
# Release 24.11 (“Vicuña”, 2024.11/28) {#sec-release-24.11}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@ -135,6 +135,8 @@
- [Radicle](https://radicle.xyz), an open source, peer-to-peer code collaboration stack built on Git. Available as [services.radicle](#opt-services.radicle.enable).
- [Ordinal](https://github.com/snu-sf/Ordinal), A library for ordinal numbers in the Coq proof assistant.
- [ddns-updater](https://github.com/qdm12/ddns-updater), a service with a WebUI to update DNS records periodically for many providers. Available as [services.ddns-updater](#opt-services.ddns-updater.enable).
- [Immersed](https://immersed.com/), a closed-source coworking platform. Available as [programs.immersed](#opt-programs.immersed.enable).
@ -151,8 +153,6 @@
- [zeronsd](https://github.com/zerotier/zeronsd), a DNS server for ZeroTier users. Available with [services.zeronsd.servedNetworks](#opt-services.zeronsd.servedNetworks).
- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](#opt-services.agorakit.enable).
- [Collabora Online](https://www.collaboraonline.com/), a collaborative online office suite based on LibreOffice technology. Available as [services.collabora-online](options.html#opt-services.collabora-online.enable).
- [wg-access-server](https://github.com/freifunkMUC/wg-access-server/), an all-in-one WireGuard VPN solution with a WebUI for connecting devices. Available as [services.wg-access-server](#opt-services.wg-access-server.enable).
@ -797,10 +797,6 @@
not the `hare` package, should be added to `nativeBuildInputs` when building
Hare programs.
- [`lib.options.mkPackageOptionMD`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOptionMD) is now obsolete; use the identical [`lib.options.mkPackageOption`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOption) instead.
- `lib.misc.mapAttrsFlatten` is now formally deprecated and will be removed in future releases; use the identical [`lib.attrsets.mapAttrsToList`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.mapAttrsToList) instead.
- `virtualisation.docker.liveRestore` has been renamed to `virtualisation.docker.daemon.settings."live-restore"` and turned off by default for state versions of at least 24.11.
- Tailscale's `authKeyFile` can now have its corresponding parameters set through `config.services.tailscale.authKeyParameters`, allowing for non-ephemeral unsupervised deployment and more.
@ -915,9 +911,7 @@
- `freecad` now supports addons and custom configuration in nix-way, which can be used by calling `freecad.customize`.
- `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries.
## Detailed migration information {#sec-release-24.11-migration}
## Detailed Migration Information {#sec-release-24.11-migration}
### `sound` options removal {#sec-release-24.11-migration-sound}
@ -978,3 +972,62 @@ To provide some examples:
| `"foo", "bar"` | `"baz", "bar"` | no match | match | One compatible string matching is enough |
Note that this also allows writing overlays that explicitly apply to multiple boards.
## Nixpkgs Library {#sec-release-24.11-lib}
### Breaking changes {#sec-release-24.11-lib-breaking}
- [`lib.escapeShellArg`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.strings.escapeShellArg) and [`lib.escapeShellArgs`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.strings.escapeShellArgs): Arguments that don't need to be escaped won't be anymore, which is not breaking according to the functions documentation, but it can cause breakages if used for the non-intended use cases.
- [`lib.warn msg val`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.warn) (and its relatives [`lib.warnIf`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.warnIf) and [`lib.warnIfNot`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.warnIfNot)) now require `msg` to be a string to match the behavior of the new [`builtins.warn`](https://nix.dev/manual/nix/2.25/language/builtins.html?highlight=warn#builtins-warn).
- `lib.mdDoc`: Removed after deprecation in the previous release.
### Additions and Improvements {#sec-release-24.11-lib-additions-improvements}
New and extended interfaces:
- [`lib.fromHexString`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.fromHexString): Convert a hexadecimal string to it's integer representation.
- `lib.network.ipv6.fromString`: Parse an IPv6 address.
- [`lib.getLicenseFromSpdxIdOr`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.meta.getLicenseFromSpdxIdOr): Get the corresponding attribute in `lib.licenses` from an SPDX ID or fall back to the given default value.
- [`lib.licensesSpdx`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.meta.licensesSpdx): Mapping of SPDX ID to the attributes in `lib.licenses`.
- [`lib.getFirstOutput`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.attrsets.getFirstOutput): Like `getOutput` but with a list of fallback output names.
- [`lib.getInclude`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.attrsets.getInclude) and [`lib.getStatic`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.attrsets.getStatic): Get a packages `include`/`static` output.
- [`lib.trim`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.strings.trim) and [`lib.trimWith`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.strings.trimWith): Remove leading and trailing whitespace from a string.
- [`lib.meta.defaultPriority`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.meta.defaultPriority): The default priority of packages in Nix.
- [`lib.toExtension`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.fixedPoints.toExtension): Convert to an extending function (overlay).
- `lib.fetchers.normalizeHash`: Convert an attrset containing one of `hash`, `sha256` or `sha512` into one containing `outputHash{,Algo}` as accepted by `mkDerivation`.
- `lib.fetchers.withNormalizedHash`: Wraps a function which accepts `outputHash{,Algo}` into one which accepts `hash`, `sha256` or `sha512`.
- Various builtins are now reexported in a more standard way:
- `lib.map` -> `lib.lists.map` -> `builtins.map`
- `lib.intersectAttrs` -> `lib.attrsets.intersectAttrs` -> `builtins.intersectAttrs`
- `lib.removeAttrs` -> `lib.attrsets.removeAttrs` -> `builtins.removeAttrs`
- `lib.match` -> `lib.strings.match` -> `builtins.match`
- `lib.split` -> `lib.strings.split` -> `builtins.split`
- `lib.typeOf` -> `builtins.typeOf`
- `lib.unsafeGetAttrPos` -> `builtins.unsafeGetAttrPos`
- [`lib.cli.toGNUCommandLine`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.cli.toGNUCommandLine) now supports the `optionValueSeparator` argument attribute to control the key-value separator for arguments.
Documentation improvements:
- Much of the documentation has been migrated to the [standard doc-comment format](https://github.com/NixOS/rfcs/pull/145), including [`lib.derivations`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-derivations), [`lib.fixedPoints`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-fixedPoints), [`lib.gvariant`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-gvariant), [`lib.filesystem`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-filesystem), [`lib.strings`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-strings), [`lib.meta`](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-meta).
- [`lib.generators` documentation](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-generators) is now improved and rendered in the manual.
- [`lib.cli` documentation](https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-cli) is now improved and rendered in the manual.
- [`lib.composeExtensions`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.fixedPoints.composeExtensions) and [`lib.composeManyExtensions`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.fixedPoints.composeManyExtensions) documentation is now improved.
- [`lib.importTOML`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.importTOML) and [`lib.importJSON`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.importJSON)'s documentation now have an example.
Module System:
- `lib.importApply`: New function, imports a Nix expression file much like the module system would, after passing an extra positional argument to the function in the file.
- Improve error message when accessing an option that isn't defined.
- `lib.types.anything`: Don't fail to merge when specifying the same list multiple times.
- Improve error when loading a flake as a module.
### Deprecations {#sec-release-24.11-lib-deprecations}
- [`lib.options.mkPackageOptionMD`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOptionMD) is now obsolete; use the identical [`lib.options.mkPackageOption`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.options.mkPackageOption) instead.
- `lib.misc.mapAttrsFlatten` is now formally deprecated and will be removed in future releases; use the identical [`lib.attrsets.mapAttrsToList`](https://nixos.org/manual/nixpkgs/unstable#function-library-lib.attrsets.mapAttrsToList) instead.
- `lib.isInOldestRelease`: Renamed to [`oldestSupportedReleaseIsAtLeast`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.trivial.oldestSupportedReleaseIsAtLeast) and deprecated.
## NixOS Wiki {#sec-release-24.11-wiki}
The official NixOS Wiki at [wiki.nixos.org](https://wiki.nixos.org/) was launched in April 2024, featuring
content initially copied from the community wiki. The wiki enhances the official documentation, linking to
existing resources and providing a categorization system for easy navigation, and is guided by a new "Manual
of Style" — a contribution guide and enhanced templates. It offers a wealth of new information, including
articles on applications, desktop environments, and a growing number of translations in multiple languages.

View File

@ -14,8 +14,12 @@
- [Kimai](https://www.kimai.org/), a web-based multi-user time-tracking application. Available as [services.kimai](option.html#opt-services.kimai).
- [Omnom](https://github.com/asciimoo/omnom), a webpage bookmarking and snapshotting service. Available as [services.omnom](options.html#opt-services.omnom.enable).
- [Amazon CloudWatch Agent](https://github.com/aws/amazon-cloudwatch-agent), the official telemetry collector for AWS CloudWatch and AWS X-Ray. Available as [services.amazon-cloudwatch-agent](#opt-services.amazon-cloudwatch-agent.enable).
- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](#opt-services.agorakit.enable).
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
## Backward Incompatibilities {#sec-release-25.05-incompatibilities}
@ -47,6 +51,8 @@
[official website](https://www.nerdfonts.com/font-downloads) as the titles in preview images, with the "Nerd Font"
suffix and any whitespaces trimmed.
- `gkraken` software and `hardware.gkraken.enable` option have been removed, use `coolercontrol` via `programs.coolercontrol.enable` option instead.
- the notmuch vim plugin now lives in a separate output of the `notmuch`
package. Installing `notmuch` will not bring the notmuch vim package anymore,
add `vimPlugins.notmuch-vim` to your (Neo)vim configuration if you want the
@ -58,6 +64,6 @@
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- Create the first release note entry in this section!
- `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@ -10,7 +10,11 @@ let
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
open = "/${outputPath}/${indexPath}";
};
nixos-render-docs-redirects = pkgs.writeShellScriptBin "redirects" "${pkgs.lib.getExe pkgs.nixos-render-docs-redirects} --file ${toString ./redirects.json} $@";
in
pkgs.mkShellNoCC {
packages = [ devmode ];
packages = [
devmode
nixos-render-docs-redirects
];
}

View File

@ -27,9 +27,6 @@
# This should not contain packages that are broken or can't build, since it
# will break this expression
#
# Currently broken packages:
# - contour
#
# can be generated with:
# lib.attrNames (lib.filterAttrs
# (_: drv: (builtins.tryEval (lib.isDerivation drv && drv ? terminfo)).value)
@ -39,6 +36,7 @@
with pkgs.pkgsBuildBuild;
[
alacritty
contour
foot
kitty
mtm

View File

@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.gkraken;
in
{
options.hardware.gkraken = {
enable = lib.mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
};
config = lib.mkIf cfg.enable {
services.udev.packages = with pkgs; [
gkraken
];
};
}

View File

@ -1,12 +1,9 @@
{ config, pkgs, lib, ... }:
with lib;
let
imcfg = config.i18n.inputMethod;
in
{
config = mkIf (imcfg.enable && imcfg.type == "hime") {
config = lib.mkIf (imcfg.enable && imcfg.type == "hime") {
i18n.inputMethod.package = pkgs.hime;
environment.variables = {
GTK_IM_MODULE = "hime";

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
imcfg = config.i18n.inputMethod;
cfg = imcfg.ibus;
@ -9,10 +6,10 @@ let
ibusEngine = lib.types.mkOptionType {
name = "ibus-engine";
inherit (lib.types.package) descriptionClass merge;
check = x: (lib.types.package.check x) && (attrByPath ["meta" "isIbusEngine"] false x);
check = x: (lib.types.package.check x) && (lib.attrByPath ["meta" "isIbusEngine"] false x);
};
impanel = optionalString (cfg.panel != null) "--panel=${cfg.panel}";
impanel = lib.optionalString (cfg.panel != null) "--panel=${cfg.panel}";
ibusAutostart = pkgs.writeTextFile {
name = "autostart-ibus-daemon";
@ -29,32 +26,32 @@ let
in
{
imports = [
(mkRenamedOptionModule [ "programs" "ibus" "plugins" ] [ "i18n" "inputMethod" "ibus" "engines" ])
(lib.mkRenamedOptionModule [ "programs" "ibus" "plugins" ] [ "i18n" "inputMethod" "ibus" "engines" ])
];
options = {
i18n.inputMethod.ibus = {
engines = mkOption {
type = with types; listOf ibusEngine;
engines = lib.mkOption {
type = with lib.types; listOf ibusEngine;
default = [];
example = literalExpression "with pkgs.ibus-engines; [ mozc hangul ]";
example = lib.literalExpression "with pkgs.ibus-engines; [ mozc hangul ]";
description =
let
enginesDrv = filterAttrs (const isDerivation) pkgs.ibus-engines;
engines = concatStringsSep ", "
(map (name: "`${name}`") (attrNames enginesDrv));
enginesDrv = lib.filterAttrs (lib.const lib.isDerivation) pkgs.ibus-engines;
engines = lib.concatStringsSep ", "
(map (name: "`${name}`") (lib.attrNames enginesDrv));
in "Enabled IBus engines. Available engines are: ${engines}.";
};
panel = mkOption {
type = with types; nullOr path;
panel = lib.mkOption {
type = with lib.types; nullOr path;
default = null;
example = literalExpression ''"''${pkgs.plasma5Packages.plasma-desktop}/libexec/kimpanel-ibus-panel"'';
example = lib.literalExpression ''"''${pkgs.plasma5Packages.plasma-desktop}/libexec/kimpanel-ibus-panel"'';
description = "Replace the IBus panel with another panel.";
};
};
};
config = mkIf (imcfg.enable && imcfg.type == "ibus") {
config = lib.mkIf (imcfg.enable && imcfg.type == "ibus") {
i18n.inputMethod.package = ibusPackage;
environment.systemPackages = [
@ -76,7 +73,7 @@ in
XMODIFIERS = "@im=ibus";
};
xdg.portal.extraPortals = mkIf config.xdg.portal.enable [
xdg.portal.extraPortals = lib.mkIf config.xdg.portal.enable [
ibusPackage
];
};

View File

@ -1,11 +1,9 @@
{ config, pkgs, lib, ... }:
with lib;
let
imcfg = config.i18n.inputMethod;
in
{
config = mkIf (imcfg.enable && imcfg.type == "nabi") {
config = lib.mkIf (imcfg.enable && imcfg.type == "nabi") {
i18n.inputMethod.package = pkgs.nabi;
environment.variables = {

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
imcfg = config.i18n.inputMethod;
cfg = imcfg.uim;
@ -10,8 +7,8 @@ in
options = {
i18n.inputMethod.uim = {
toolbar = mkOption {
type = types.enum [ "gtk" "gtk3" "gtk-systray" "gtk3-systray" "qt5" ];
toolbar = lib.mkOption {
type = lib.types.enum [ "gtk" "gtk3" "gtk-systray" "gtk3-systray" "qt5" ];
default = "gtk";
example = "gtk-systray";
description = ''
@ -22,7 +19,7 @@ in
};
config = mkIf (imcfg.enable && imcfg.type == "uim") {
config = lib.mkIf (imcfg.enable && imcfg.type == "uim") {
i18n.inputMethod.package = pkgs.uim;
environment.variables = {

View File

@ -8,7 +8,21 @@
let
inherit (lib) types;
imageModules = { };
imageModules = {
azure = [ ../virtualisation/azure-image.nix ];
digital-ocean = [ ../virtualisation/digital-ocean-image.nix ];
google-compute = [ ../virtualisation/google-compute-image.nix ];
hyperv = [ ../virtualisation/hyperv-image.nix ];
linode = [ ../virtualisation/linode-image.nix ];
lxc = [ ../virtualisation/lxc-container.nix ];
lxc-metadata = [ ../virtualisation/lxc-image-metadata.nix ];
oci = [ ../virtualisation/oci-image.nix ];
proxmox = [ ../virtualisation/proxmox-image.nix ];
kubevirt = [ ../virtualisation/kubevirt.nix ];
vagrant-virtualbox = [ ../virtualisation/vagrant-virtualbox-image.nix ];
virtualbox = [ ../virtualisation/virtualbox-image.nix ];
vmware = [ ../virtualisation/vmware-image.nix ];
};
imageConfigs = lib.mapAttrs (
name: modules:
extendModules {

View File

@ -1,13 +1,10 @@
{ lib, ... }:
with lib;
{
options = {
assertions = mkOption {
type = types.listOf types.unspecified;
assertions = lib.mkOption {
type = lib.types.listOf lib.types.unspecified;
internal = true;
default = [];
example = [ { assertion = false; message = "you can't enable this for that reason"; } ];
@ -18,10 +15,10 @@ with lib;
'';
};
warnings = mkOption {
warnings = lib.mkOption {
internal = true;
default = [];
type = types.listOf types.str;
type = lib.types.listOf lib.types.str;
example = [ "The `foo' service is deprecated and will go away soon!" ];
description = ''
This option allows modules to show warnings to users during

View File

@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
let
crashdump = config.boot.crashDump;
kernelParams = concatStringsSep " " crashdump.kernelParams;
kernelParams = lib.concatStringsSep " " crashdump.kernelParams;
in
###### interface
@ -13,8 +10,8 @@ in
options = {
boot = {
crashDump = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
If enabled, NixOS will set up a kernel that will
@ -24,17 +21,17 @@ in
It also activates the NMI watchdog.
'';
};
reservedMemory = mkOption {
reservedMemory = lib.mkOption {
default = "128M";
type = types.str;
type = lib.types.str;
description = ''
The amount of memory reserved for the crashdump kernel.
If you choose a too high value, dmesg will mention
"crashkernel reservation failed".
'';
};
kernelParams = mkOption {
type = types.listOf types.str;
kernelParams = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ "1" "boot.shell_on_fail" ];
description = ''
Parameters that will be passed to the kernel kexec-ed on crash.
@ -46,7 +43,7 @@ in
###### implementation
config = mkIf crashdump.enable {
config = lib.mkIf crashdump.enable {
boot = {
postBootCommands = ''
echo "loading crashdump kernel...";

View File

@ -1,7 +1,4 @@
{ config, lib, ... }:
with lib;
let
cfg = config.system.nixos;
in
@ -10,8 +7,8 @@ in
options.system = {
nixos.label = mkOption {
type = types.strMatching "[a-zA-Z0-9:_\\.-]*";
nixos.label = lib.mkOption {
type = lib.types.strMatching "[a-zA-Z0-9:_\\.-]*";
description = ''
NixOS version name to be used in the names of generated
outputs and boot labels.
@ -43,8 +40,8 @@ in
'';
};
nixos.tags = mkOption {
type = types.listOf types.str;
nixos.tags = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [];
example = [ "with-xen" ];
description = ''
@ -68,9 +65,9 @@ in
config = {
# This is set here rather than up there so that changing it would
# not rebuild the manual
system.nixos.label = mkDefault (maybeEnv "NIXOS_LABEL"
(concatStringsSep "-" ((sort (x: y: x < y) cfg.tags)
++ [ (maybeEnv "NIXOS_LABEL_VERSION" cfg.version) ])));
system.nixos.label = lib.mkDefault (lib.maybeEnv "NIXOS_LABEL"
(lib.concatStringsSep "-" ((lib.sort (x: y: x < y) cfg.tags)
++ [ (lib.maybeEnv "NIXOS_LABEL_VERSION" cfg.version) ])));
};
}

View File

@ -1,28 +1,25 @@
{ lib, ... }:
with lib;
let
maintainer = mkOptionType {
maintainer = lib.mkOptionType {
name = "maintainer";
check = email: elem email (attrValues lib.maintainers);
merge = loc: defs: listToAttrs (singleton (nameValuePair (last defs).file (last defs).value));
check = email: lib.elem email (lib.attrValues lib.maintainers);
merge = loc: defs: lib.listToAttrs (lib.singleton (lib.nameValuePair (lib.last defs).file (lib.last defs).value));
};
listOfMaintainers = types.listOf maintainer // {
listOfMaintainers = lib.types.listOf maintainer // {
# Returns list of
# { "module-file" = [
# "maintainer1 <first@nixos.org>"
# "maintainer2 <second@nixos.org>" ];
# }
merge = loc: defs:
zipAttrs
(flatten (imap1 (n: def: imap1 (m: def':
lib.zipAttrs
(lib.flatten (lib.imap1 (n: def: lib.imap1 (m: def':
maintainer.merge (loc ++ ["[${toString n}-${toString m}]"])
[{ inherit (def) file; value = def'; }]) def.value) defs));
};
docFile = types.path // {
docFile = lib.types.path // {
# Returns tuples of
# { file = "module location"; value = <path/to/doc.xml>; }
merge = loc: defs: defs;
@ -33,18 +30,18 @@ in
options = {
meta = {
maintainers = mkOption {
maintainers = lib.mkOption {
type = listOfMaintainers;
internal = true;
default = [];
example = literalExpression ''[ lib.maintainers.all ]'';
example = lib.literalExpression ''[ lib.maintainers.all ]'';
description = ''
List of maintainers of each module. This option should be defined at
most once per module.
'';
};
doc = mkOption {
doc = lib.mkOption {
type = docFile;
internal = true;
example = "./meta.chapter.md";
@ -54,8 +51,8 @@ in
'';
};
buildDocsInSandbox = mkOption {
type = types.bool // {
buildDocsInSandbox = lib.mkOption {
type = lib.types.bool // {
merge = loc: defs: defs;
};
internal = true;
@ -72,5 +69,5 @@ in
};
};
meta.maintainers = singleton lib.maintainers.pierron;
meta.maintainers = lib.singleton lib.maintainers.pierron;
}

View File

@ -36,14 +36,13 @@ let
DOCUMENTATION_URL = optionalString isNixos "https://nixos.org/learn.html";
SUPPORT_URL = optionalString isNixos "https://nixos.org/community.html";
BUG_REPORT_URL = optionalString isNixos "https://github.com/NixOS/nixpkgs/issues";
ANSI_COLOR = optionalString isNixos "1;34";
ANSI_COLOR = optionalString isNixos "0;38;2;126;186;228";
IMAGE_ID = optionalString (config.system.image.id != null) config.system.image.id;
IMAGE_VERSION = optionalString (config.system.image.version != null) config.system.image.version;
VARIANT = optionalString (cfg.variantName != null) cfg.variantName;
VARIANT_ID = optionalString (cfg.variant_id != null) cfg.variant_id;
DEFAULT_HOSTNAME = config.networking.fqdnOrHostName;
SUPPORT_END = "2025-06-30";
};
DEFAULT_HOSTNAME = config.system.nixos.distroId;
} // cfg.extraOSReleaseArgs;
initrdReleaseContents = (removeAttrs osReleaseContents [ "BUILD_ID" ]) // {
PRETTY_NAME = "${osReleaseContents.PRETTY_NAME} (Initrd)";
@ -143,6 +142,26 @@ in
default = "NixOS";
description = "The name of the operating system vendor";
};
extraOSReleaseArgs = mkOption {
internal = true;
type = types.attrsOf types.str;
default = { };
description = "Additional attributes to be merged with the /etc/os-release generator.";
example = {
ANSI_COLOR = "1;31";
};
};
extraLSBReleaseArgs = mkOption {
internal = true;
type = types.attrsOf types.str;
default = { };
description = "Additional attributes to be merged with the /etc/lsb-release generator.";
example = {
LSB_VERSION = "1.0";
};
};
};
image = {
@ -237,13 +256,13 @@ in
# https://www.freedesktop.org/software/systemd/man/os-release.html for the
# format.
environment.etc = {
"lsb-release".text = attrsToText {
"lsb-release".text = attrsToText ({
LSB_VERSION = "${cfg.release} (${cfg.codeName})";
DISTRIB_ID = "${cfg.distroId}";
DISTRIB_RELEASE = cfg.release;
DISTRIB_CODENAME = toLower cfg.codeName;
DISTRIB_DESCRIPTION = "${cfg.distroName} ${cfg.release} (${cfg.codeName})";
};
} // cfg.extraLSBReleaseArgs);
"os-release".text = attrsToText osReleaseContents;
};

View File

@ -65,7 +65,6 @@
./hardware/digitalbitbox.nix
./hardware/flipperzero.nix
./hardware/flirc.nix
./hardware/gkraken.nix
./hardware/glasgow.nix
./hardware/gpgsmartcards.nix
./hardware/graphics.nix
@ -813,6 +812,7 @@
./services/misc/octoprint.nix
./services/misc/ollama.nix
./services/misc/ombi.nix
./services/misc/omnom.nix
./services/misc/open-webui.nix
./services/misc/osrm.nix
./services/misc/owncast.nix

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.fcast-receiver;
in
@ -11,20 +8,20 @@ in
};
options.programs.fcast-receiver = {
enable = mkEnableOption "FCast Receiver";
openFirewall = mkOption {
type = types.bool;
enable = lib.mkEnableOption "FCast Receiver";
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports needed for the functionality of the program.
'';
};
package = mkPackageOption pkgs "fcast-receiver" { };
package = lib.mkPackageOption pkgs "fcast-receiver" { };
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 46899 ];
};
};

View File

@ -33,6 +33,10 @@ in
systemd-logind API). Instead of using the module you can now
simply add the brightnessctl package to environment.systemPackages.
'')
(mkRemovedOptionModule [ "hardware" "gkraken" "enable" ] ''
gkraken was deprecated by coolercontrol and thus removed from nixpkgs.
Consider using programs.coolercontrol instead.
'')
(mkRemovedOptionModule [ "hardware" "u2f" ] ''
The U2F modules module was removed, as all it did was adding the
udev rules from libu2f-host to the system. Udev gained native support

View File

@ -1,30 +1,27 @@
{ config, lib, pkgs, ... }:
with lib;
let
inherit (builtins) attrNames head map match readFile;
inherit (lib) types;
inherit (config.environment) etc;
cfg = config.security.apparmor;
mkDisableOption = name: mkEnableOption name // {
mkDisableOption = name: lib.mkEnableOption name // {
default = true;
example = false;
};
enabledPolicies = filterAttrs (n: p: p.enable) cfg.policies;
enabledPolicies = lib.filterAttrs (n: p: p.enable) cfg.policies;
in
{
imports = [
(mkRemovedOptionModule [ "security" "apparmor" "confineSUIDApplications" ] "Please use the new options: `security.apparmor.policies.<policy>.enable'.")
(mkRemovedOptionModule [ "security" "apparmor" "profiles" ] "Please use the new option: `security.apparmor.policies'.")
(lib.mkRemovedOptionModule [ "security" "apparmor" "confineSUIDApplications" ] "Please use the new options: `security.apparmor.policies.<policy>.enable'.")
(lib.mkRemovedOptionModule [ "security" "apparmor" "profiles" ] "Please use the new option: `security.apparmor.policies'.")
apparmor/includes.nix
apparmor/profiles.nix
];
options = {
security.apparmor = {
enable = mkEnableOption ''
enable = lib.mkEnableOption ''
the AppArmor Mandatory Access Control system.
If you're enabling this module on a running system,
@ -41,7 +38,7 @@ in
Enable [](#opt-security.apparmor.killUnconfinedConfinables)
if you want this service to do such killing
by sending a `SIGTERM` to those running processes'';
policies = mkOption {
policies = lib.mkOption {
description = ''
AppArmor policies.
'';
@ -49,7 +46,7 @@ in
options = {
enable = mkDisableOption "loading of the profile into the kernel";
enforce = mkDisableOption "enforcing of the policy or only complain in the logs";
profile = mkOption {
profile = lib.mkOption {
description = "The policy of the profile.";
type = types.lines;
apply = pkgs.writeText name;
@ -58,28 +55,28 @@ in
}));
default = {};
};
includes = mkOption {
includes = lib.mkOption {
type = types.attrsOf types.lines;
default = {};
description = ''
List of paths to be added to AppArmor's searched paths
when resolving `include` directives.
'';
apply = mapAttrs pkgs.writeText;
apply = lib.mapAttrs pkgs.writeText;
};
packages = mkOption {
packages = lib.mkOption {
type = types.listOf types.package;
default = [];
description = "List of packages to be added to AppArmor's include path";
};
enableCache = mkEnableOption ''
enableCache = lib.mkEnableOption ''
caching of AppArmor policies
in `/var/cache/apparmor/`.
Beware that AppArmor policies almost always contain Nix store paths,
and thus produce at each change of these paths
a new cached version accumulating in the cache'';
killUnconfinedConfinables = mkEnableOption ''
killUnconfinedConfinables = lib.mkEnableOption ''
killing of processes which have an AppArmor profile enabled
(in [](#opt-security.apparmor.policies))
but are not confined (because AppArmor can only confine new processes).
@ -92,7 +89,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
assertions = map (policy:
{ assertion = match ".*/.*" policy == null;
message = "`security.apparmor.policies.\"${policy}\"' must not contain a slash.";
@ -108,15 +105,15 @@ in
environment.etc."apparmor.d".source = pkgs.linkFarm "apparmor.d" (
# It's important to put only enabledPolicies here and not all cfg.policies
# because aa-remove-unknown reads profiles from all /etc/apparmor.d/*
mapAttrsToList (name: p: { inherit name; path = p.profile; }) enabledPolicies ++
mapAttrsToList (name: path: { inherit name path; }) cfg.includes
lib.mapAttrsToList (name: p: { inherit name; path = p.profile; }) enabledPolicies ++
lib.mapAttrsToList (name: path: { inherit name path; }) cfg.includes
);
environment.etc."apparmor/parser.conf".text = ''
${if cfg.enableCache then "write-cache" else "skip-cache"}
cache-loc /var/cache/apparmor
Include /etc/apparmor.d
'' +
concatMapStrings (p: "Include ${p}/etc/apparmor.d\n") cfg.packages;
lib.concatMapStrings (p: "Include ${p}/etc/apparmor.d\n") cfg.packages;
# For aa-logprof
environment.etc."apparmor/apparmor.conf".text = ''
'';
@ -142,7 +139,7 @@ in
# 3 - force all perms on the rule to be user
default_owner_prompt = 1
custom_includes = /etc/apparmor.d ${concatMapStringsSep " " (p: "${p}/etc/apparmor.d") cfg.packages}
custom_includes = /etc/apparmor.d ${lib.concatMapStringsSep " " (p: "${p}/etc/apparmor.d") cfg.packages}
[qualifiers]
${pkgs.runtimeShell} = icnu
@ -187,17 +184,17 @@ in
xargs --verbose --no-run-if-empty --delimiter='\n' \
kill
'';
commonOpts = p: "--verbose --show-cache ${optionalString (!p.enforce) "--complain "}${p.profile}";
commonOpts = p: "--verbose --show-cache ${lib.optionalString (!p.enforce) "--complain "}${p.profile}";
in {
Type = "oneshot";
RemainAfterExit = "yes";
ExecStartPre = "${pkgs.apparmor-utils}/bin/aa-teardown";
ExecStart = mapAttrsToList (n: p: "${pkgs.apparmor-parser}/bin/apparmor_parser --add ${commonOpts p}") enabledPolicies;
ExecStartPost = optional cfg.killUnconfinedConfinables killUnconfinedConfinables;
ExecStart = lib.mapAttrsToList (n: p: "${pkgs.apparmor-parser}/bin/apparmor_parser --add ${commonOpts p}") enabledPolicies;
ExecStartPost = lib.optional cfg.killUnconfinedConfinables killUnconfinedConfinables;
ExecReload =
# Add or replace into the kernel profiles in enabledPolicies
# (because AppArmor can do that without stopping the processes already confined).
mapAttrsToList (n: p: "${pkgs.apparmor-parser}/bin/apparmor_parser --replace ${commonOpts p}") enabledPolicies ++
lib.mapAttrsToList (n: p: "${pkgs.apparmor-parser}/bin/apparmor_parser --replace ${commonOpts p}") enabledPolicies ++
# Remove from the kernel any profile whose name is not
# one of the names within the content of the profiles in enabledPolicies
# (indirectly read from /etc/apparmor.d/*, without recursing into sub-directory).
@ -205,7 +202,7 @@ in
[ "${pkgs.apparmor-utils}/bin/aa-remove-unknown" ] ++
# Optionally kill the processes which are unconfined but now have a profile loaded
# (because AppArmor can only start to confine new processes).
optional cfg.killUnconfinedConfinables killUnconfinedConfinables;
lib.optional cfg.killUnconfinedConfinables killUnconfinedConfinables;
ExecStop = "${pkgs.apparmor-utils}/bin/aa-teardown";
CacheDirectory = [ "apparmor" "apparmor/logprof" ];
CacheDirectoryMode = "0700";
@ -213,5 +210,5 @@ in
};
};
meta.maintainers = with maintainers; [ julm ];
meta.maintainers = with lib.maintainers; [ julm ];
}

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.security.audit;
enabled = cfg.enable == "lock" || cfg.enable;
@ -29,7 +26,7 @@ let
# Put the rules in a temporary file owned and only readable by root
rulesfile="$(mktemp)"
${concatMapStrings (x: "echo '${x}' >> $rulesfile\n") cfg.rules}
${lib.concatMapStrings (x: "echo '${x}' >> $rulesfile\n") cfg.rules}
# Apply the requested rules
auditctl -R "$rulesfile"
@ -53,8 +50,8 @@ let
in {
options = {
security.audit = {
enable = mkOption {
type = types.enum [ false true "lock" ];
enable = lib.mkOption {
type = lib.types.enum [ false true "lock" ];
default = false;
description = ''
Whether to enable the Linux audit system. The special `lock` value can be used to
@ -64,14 +61,14 @@ in {
'';
};
failureMode = mkOption {
type = types.enum [ "silent" "printk" "panic" ];
failureMode = lib.mkOption {
type = lib.types.enum [ "silent" "printk" "panic" ];
default = "printk";
description = "How to handle critical errors in the auditing system";
};
backlogLimit = mkOption {
type = types.int;
backlogLimit = lib.mkOption {
type = lib.types.int;
default = 64; # Apparently the kernel default
description = ''
The maximum number of outstanding audit buffers allowed; exceeding this is
@ -79,8 +76,8 @@ in {
'';
};
rateLimit = mkOption {
type = types.int;
rateLimit = lib.mkOption {
type = lib.types.int;
default = 0;
description = ''
The maximum messages per second permitted before triggering a failure as
@ -88,8 +85,8 @@ in {
'';
};
rules = mkOption {
type = types.listOf types.str; # (types.either types.str (types.submodule rule));
rules = lib.mkOption {
type = lib.types.listOf lib.types.str; # (types.either types.str (types.submodule rule));
default = [];
example = [ "-a exit,always -F arch=b64 -S execve" ];
description = ''

View File

@ -1,22 +1,19 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.security.please;
ini = pkgs.formats.ini { };
in
{
options.security.please = {
enable = mkEnableOption ''
enable = lib.mkEnableOption ''
please, a Sudo clone which allows a users to execute a command or edit a
file as another user
'';
package = mkPackageOption pkgs "please" { };
package = lib.mkPackageOption pkgs "please" { };
wheelNeedsPassword = mkOption {
type = types.bool;
wheelNeedsPassword = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Whether users of the `wheel` group must provide a password to run
@ -25,7 +22,7 @@ in
'';
};
settings = mkOption {
settings = lib.mkOption {
type = ini.type;
default = { };
example = {
@ -53,7 +50,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
security.wrappers =
let
owner = "root";
@ -110,6 +107,6 @@ in
usshAuth = true;
};
meta.maintainers = with maintainers; [ azahi ];
meta.maintainers = with lib.maintainers; [ azahi ];
};
}

View File

@ -1,39 +1,36 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.oxidized;
in
{
options.services.oxidized = {
enable = mkEnableOption "the oxidized configuration backup service";
enable = lib.mkEnableOption "the oxidized configuration backup service";
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "oxidized";
description = ''
User under which the oxidized service runs.
'';
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "oxidized";
description = ''
Group under which the oxidized service runs.
'';
};
dataDir = mkOption {
type = types.path;
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/oxidized";
description = "State directory for the oxidized service.";
};
configFile = mkOption {
type = types.path;
example = literalExpression ''
configFile = lib.mkOption {
type = lib.types.path;
example = lib.literalExpression ''
pkgs.writeText "oxidized-config.yml" '''
---
debug: true
@ -67,9 +64,9 @@ in
'';
};
routerDB = mkOption {
type = types.path;
example = literalExpression ''
routerDB = lib.mkOption {
type = lib.types.path;
example = lib.literalExpression ''
pkgs.writeText "oxidized-router.db" '''
hostname-sw1:powerconnect:username1:password2
hostname-sw2:procurve:username2:password2
@ -82,7 +79,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.groups.${cfg.group} = { };
users.users.${cfg.user} = {
description = "Oxidized service user";

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.salt.minion;
@ -21,9 +18,9 @@ in
{
options = {
services.salt.minion = {
enable = mkEnableOption "Salt configuration management system minion service";
configuration = mkOption {
type = types.attrs;
enable = lib.mkEnableOption "Salt configuration management system minion service";
configuration = lib.mkOption {
type = lib.types.attrs;
default = {};
description = ''
Salt minion configuration as Nix attribute set.
@ -34,7 +31,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment = {
# Set this up in /etc/salt/minion so `salt-call`, etc. work.
# The alternatives are

View File

@ -1,18 +1,14 @@
{ config, lib, pkgs, ... }:
with pkgs;
with lib;
let
cfg = config.services.activemq;
activemqBroker = runCommand "activemq-broker"
activemqBroker = pkgs.runCommand "activemq-broker"
{
nativeBuildInputs = [ jdk ];
nativeBuildInputs = [ pkgs.jdk ];
} ''
mkdir -p $out/lib
source ${activemq}/lib/classpath.env
source ${pkgs.activemq}/lib/classpath.env
export CLASSPATH
ln -s "${./ActiveMQBroker.java}" ActiveMQBroker.java
javac -d $out/lib ActiveMQBroker.java
@ -23,25 +19,25 @@ in
options = {
services.activemq = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the Apache ActiveMQ message broker service.
'';
};
configurationDir = mkOption {
default = "${activemq}/conf";
defaultText = literalExpression ''"''${pkgs.activemq}/conf"'';
type = types.str;
configurationDir = lib.mkOption {
default = "${pkgs.activemq}/conf";
defaultText = lib.literalExpression ''"''${pkgs.activemq}/conf"'';
type = lib.types.str;
description = ''
The base directory for ActiveMQ's configuration.
By default, this directory is searched for a file named activemq.xml,
which should contain the configuration for the broker service.
'';
};
configurationURI = mkOption {
type = types.str;
configurationURI = lib.mkOption {
type = lib.types.str;
default = "xbean:activemq.xml";
description = ''
The URI that is passed along to the BrokerFactory to
@ -51,8 +47,8 @@ in
an activemq.xml configuration file in it.
'';
};
baseDir = mkOption {
type = types.str;
baseDir = lib.mkOption {
type = lib.types.str;
default = "/var/activemq";
description = ''
The base directory where ActiveMQ stores its persistent data and logs.
@ -61,10 +57,10 @@ in
this in activemq.xml.
'';
};
javaProperties = mkOption {
type = types.attrs;
javaProperties = lib.mkOption {
type = lib.types.attrs;
default = { };
example = literalExpression ''
example = lib.literalExpression ''
{
"java.net.preferIPv4Stack" = "true";
}
@ -73,7 +69,7 @@ in
"activemq.base" = "${cfg.baseDir}";
"activemq.data" = "${cfg.baseDir}/data";
"activemq.conf" = "${cfg.configurationDir}";
"activemq.home" = "${activemq}";
"activemq.home" = "${pkgs.activemq}";
} // attrs;
description = ''
Specifies Java properties that are sent to the ActiveMQ
@ -83,8 +79,8 @@ in
given reasonable defaults.
'';
};
extraJavaOptions = mkOption {
type = types.separatedString " ";
extraJavaOptions = lib.mkOption {
type = lib.types.separatedString " ";
default = "";
example = "-Xmx2G -Xms2G -XX:MaxPermSize=512M";
description = ''
@ -95,7 +91,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users.activemq = {
description = "ActiveMQ server user";
group = "activemq";
@ -118,13 +114,13 @@ in
systemd.services.activemq = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
path = [ jre ];
path = [ pkgs.jre ];
serviceConfig.User = "activemq";
script = ''
source ${activemq}/lib/classpath.env
source ${pkgs.activemq}/lib/classpath.env
export CLASSPATH=${activemqBroker}/lib:${cfg.configurationDir}:$CLASSPATH
exec java \
${concatStringsSep " \\\n" (mapAttrsToList (name: value: "-D${name}=${value}") cfg.javaProperties)} \
${lib.concatStringsSep " \\\n" (lib.mapAttrsToList (name: value: "-D${name}=${value}") cfg.javaProperties)} \
${cfg.extraJavaOptions} ActiveMQBroker "${cfg.configurationURI}"
'';
};

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.botamusique;
@ -12,34 +9,34 @@ in
meta.maintainers = with lib.maintainers; [ hexa ];
options.services.botamusique = {
enable = mkEnableOption "botamusique, a bot to play audio streams on mumble";
enable = lib.mkEnableOption "botamusique, a bot to play audio streams on mumble";
package = mkPackageOption pkgs "botamusique" { };
package = lib.mkPackageOption pkgs "botamusique" { };
settings = mkOption {
type = with types; submodule {
settings = lib.mkOption {
type = with lib.types; submodule {
freeformType = format.type;
options = {
server.host = mkOption {
server.host = lib.mkOption {
type = types.str;
default = "localhost";
example = "mumble.example.com";
description = "Hostname of the mumble server to connect to.";
};
server.port = mkOption {
server.port = lib.mkOption {
type = types.port;
default = 64738;
description = "Port of the mumble server to connect to.";
};
bot.username = mkOption {
bot.username = lib.mkOption {
type = types.str;
default = "botamusique";
description = "Name the bot should appear with.";
};
bot.comment = mkOption {
bot.comment = lib.mkOption {
type = types.str;
default = "Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!";
description = "Comment displayed for the bot.";
@ -54,7 +51,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.botamusique = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];

View File

@ -1,58 +1,55 @@
{ pkgs, lib, config, utils, ... }:
with lib;
let
cfg = config.services.gmediarender;
in
{
options.services.gmediarender = {
enable = mkEnableOption "the gmediarender DLNA renderer";
enable = lib.mkEnableOption "the gmediarender DLNA renderer";
audioDevice = mkOption {
type = types.nullOr types.str;
audioDevice = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The audio device to use.
'';
};
audioSink = mkOption {
type = types.nullOr types.str;
audioSink = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The audio sink to use.
'';
};
friendlyName = mkOption {
type = types.nullOr types.str;
friendlyName = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
A "friendly name" for identifying the endpoint.
'';
};
initialVolume = mkOption {
type = types.nullOr types.int;
initialVolume = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = 0;
description = ''
A default volume attenuation (in dB) for the endpoint.
'';
};
package = mkPackageOption pkgs "gmediarender" {
package = lib.mkPackageOption pkgs "gmediarender" {
default = "gmrender-resurrect";
};
port = mkOption {
type = types.nullOr types.port;
port = lib.mkOption {
type = lib.types.nullOr lib.types.port;
default = null;
description = "Port that will be used to accept client connections.";
};
uuid = mkOption {
type = types.nullOr types.str;
uuid = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
A UUID for uniquely identifying the endpoint. If you have
@ -61,7 +58,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd = {
services.gmediarender = {
wants = [ "network-online.target" ];
@ -78,12 +75,12 @@ in
SupplementaryGroups = [ "audio" ];
ExecStart =
"${cfg.package}/bin/gmediarender " +
optionalString (cfg.audioDevice != null) ("--gstout-audiodevice=${utils.escapeSystemdExecArg cfg.audioDevice} ") +
optionalString (cfg.audioSink != null) ("--gstout-audiosink=${utils.escapeSystemdExecArg cfg.audioSink} ") +
optionalString (cfg.friendlyName != null) ("--friendly-name=${utils.escapeSystemdExecArg cfg.friendlyName} ") +
optionalString (cfg.initialVolume != 0) ("--initial-volume=${toString cfg.initialVolume} ") +
optionalString (cfg.port != null) ("--port=${toString cfg.port} ") +
optionalString (cfg.uuid != null) ("--uuid=${utils.escapeSystemdExecArg cfg.uuid} ");
lib.optionalString (cfg.audioDevice != null) ("--gstout-audiodevice=${utils.escapeSystemdExecArg cfg.audioDevice} ") +
lib.optionalString (cfg.audioSink != null) ("--gstout-audiosink=${utils.escapeSystemdExecArg cfg.audioSink} ") +
lib.optionalString (cfg.friendlyName != null) ("--friendly-name=${utils.escapeSystemdExecArg cfg.friendlyName} ") +
lib.optionalString (cfg.initialVolume != 0) ("--initial-volume=${toString cfg.initialVolume} ") +
lib.optionalString (cfg.port != null) ("--port=${toString cfg.port} ") +
lib.optionalString (cfg.uuid != null) ("--uuid=${utils.escapeSystemdExecArg cfg.uuid} ");
Restart = "always";
RuntimeDirectory = "gmediarender";

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.gonic;
settingsFormat = pkgs.formats.keyValue {
@ -13,11 +10,11 @@ in
options = {
services.gonic = {
enable = mkEnableOption "Gonic music server";
enable = lib.mkEnableOption "Gonic music server";
settings = mkOption rec {
settings = lib.mkOption rec {
type = settingsFormat.type;
apply = recursiveUpdate default;
apply = lib.recursiveUpdate default;
default = {
listen-addr = "127.0.0.1:4747";
cache-path = "/var/cache/gonic";
@ -36,7 +33,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.gonic = {
description = "Gonic Media Server";
after = [ "network.target" ];
@ -45,7 +42,7 @@ in
ExecStart =
let
# these values are null by default but should not appear in the final config
filteredSettings = filterAttrs (n: v: !((n == "tls-cert" || n == "tls-key") && v == null)) cfg.settings;
filteredSettings = lib.filterAttrs (n: v: !((n == "tls-cert" || n == "tls-key") && v == null)) cfg.settings;
in
"${pkgs.gonic}/bin/gonic -config-path ${settingsFormat.generate "gonic" filteredSettings}";
DynamicUser = true;
@ -89,5 +86,5 @@ in
};
};
meta.maintainers = [ maintainers.autrimpo ];
meta.maintainers = [ lib.maintainers.autrimpo ];
}

View File

@ -1,25 +1,22 @@
{ config, lib, pkgs, ... }:
let
cfg = config.services.goxlr-utility;
in
with lib;
{
options = {
services.goxlr-utility = {
enable = mkOption {
enable = lib.mkOption {
default = false;
type = types.bool;
type = lib.types.bool;
description = ''
Whether to enable goxlr-utility for controlling your TC-Helicon GoXLR or GoXLR Mini
'';
};
package = mkPackageOption pkgs "goxlr-utility" { };
autoStart.xdg = mkOption {
package = lib.mkPackageOption pkgs "goxlr-utility" { };
autoStart.xdg = lib.mkOption {
default = true;
type = with types; bool;
type = with lib.types; bool;
description = ''
Start the daemon automatically using XDG autostart.
Sets `xdg.autostart.enable = true` if not already enabled.
@ -44,16 +41,16 @@ with lib;
'';
};
in
mkIf config.services.goxlr-utility.enable {
lib.mkIf config.services.goxlr-utility.enable {
services.udev.packages = [ cfg.package ];
xdg.autostart.enable = mkIf cfg.autoStart.xdg true;
environment.systemPackages = mkIf cfg.autoStart.xdg
xdg.autostart.enable = lib.mkIf cfg.autoStart.xdg true;
environment.systemPackages = lib.mkIf cfg.autoStart.xdg
[
cfg.package
goxlr-autostart
];
};
meta.maintainers = with maintainers; [ errnoh ];
meta.maintainers = with lib.maintainers; [ errnoh ];
}

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.hqplayerd;
pkg = pkgs.hqplayerd;
@ -12,11 +9,11 @@ in
{
options = {
services.hqplayerd = {
enable = mkEnableOption "HQPlayer Embedded";
enable = lib.mkEnableOption "HQPlayer Embedded";
auth = {
username = mkOption {
type = types.nullOr types.str;
username = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
Username used for HQPlayer's WebUI.
@ -26,8 +23,8 @@ in
'';
};
password = mkOption {
type = types.nullOr types.str;
password = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
Password used for HQPlayer's WebUI.
@ -38,8 +35,8 @@ in
};
};
licenseFile = mkOption {
type = types.nullOr types.path;
licenseFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = ''
Path to the HQPlayer license key file.
@ -49,16 +46,16 @@ in
'';
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Opens ports needed for the WebUI and controller API.
'';
};
config = mkOption {
type = types.nullOr types.lines;
config = lib.mkOption {
type = lib.types.nullOr lib.types.lines;
default = null;
description = ''
HQplayer daemon configuration, written to /etc/hqplayer/hqplayerd.xml.
@ -69,7 +66,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = (cfg.auth.username != null -> cfg.auth.password != null)
@ -80,13 +77,13 @@ in
environment = {
etc = {
"hqplayer/hqplayerd.xml" = mkIf (cfg.config != null) { source = pkgs.writeText "hqplayerd.xml" cfg.config; };
"hqplayer/hqplayerd4-key.xml" = mkIf (cfg.licenseFile != null) { source = cfg.licenseFile; };
"hqplayer/hqplayerd.xml" = lib.mkIf (cfg.config != null) { source = pkgs.writeText "hqplayerd.xml" cfg.config; };
"hqplayer/hqplayerd4-key.xml" = lib.mkIf (cfg.licenseFile != null) { source = cfg.licenseFile; };
};
systemPackages = [ pkg ];
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 8088 4321 ];
};
@ -107,7 +104,7 @@ in
unitConfig.ConditionPathExists = [ configDir stateDir ];
restartTriggers = optionals (cfg.config != null) [ config.environment.etc."hqplayer/hqplayerd.xml".source ];
restartTriggers = lib.optionals (cfg.config != null) [ config.environment.etc."hqplayer/hqplayerd.xml".source ];
preStart = ''
cp -r "${pkg}/var/lib/hqplayer/web" "${stateDir}"
@ -117,7 +114,7 @@ in
echo "creating initial config file"
install -m 0644 "${pkg}/etc/hqplayer/hqplayerd.xml" "${configDir}/hqplayerd.xml"
fi
'' + optionalString (cfg.auth.username != null && cfg.auth.password != null) ''
'' + lib.optionalString (cfg.auth.username != null && cfg.auth.password != null) ''
${pkg}/bin/hqplayerd -s ${cfg.auth.username} ${cfg.auth.password}
'';
};

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.icecast;
configFile = pkgs.writeText "icecast.xml" ''
@ -44,62 +41,62 @@ in {
services.icecast = {
enable = mkEnableOption "Icecast server";
enable = lib.mkEnableOption "Icecast server";
hostname = mkOption {
type = types.nullOr types.str;
hostname = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "DNS name or IP address that will be used for the stream directory lookups or possibly the playlist generation if a Host header is not provided.";
default = config.networking.domain;
defaultText = literalExpression "config.networking.domain";
defaultText = lib.literalExpression "config.networking.domain";
};
admin = {
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
description = "Username used for all administration functions.";
default = "admin";
};
password = mkOption {
type = types.str;
password = lib.mkOption {
type = lib.types.str;
description = "Password used for all administration functions.";
};
};
logDir = mkOption {
type = types.path;
logDir = lib.mkOption {
type = lib.types.path;
description = "Base directory used for logging.";
default = "/var/log/icecast";
};
listen = {
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
description = "TCP port that will be used to accept client connections.";
default = 8000;
};
address = mkOption {
type = types.str;
address = lib.mkOption {
type = lib.types.str;
description = "Address Icecast will listen on.";
default = "::";
};
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
description = "User privileges for the server.";
default = "nobody";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
description = "Group privileges for the server.";
default = "nogroup";
};
extraConf = mkOption {
type = types.lines;
extraConf = lib.mkOption {
type = lib.types.lines;
description = "icecast.xml content.";
default = "";
};
@ -111,7 +108,7 @@ in {
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.icecast = {
after = [ "network.target" ];

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.jack;
@ -10,29 +7,29 @@ let
enable32BitAlsaPlugins = cfg.alsa.support32Bit && pkgs.stdenv.hostPlatform.isx86_64 && pkgs.pkgsi686Linux.alsa-lib != null;
umaskNeeded = versionOlder cfg.jackd.package.version "1.9.12";
bridgeNeeded = versionAtLeast cfg.jackd.package.version "1.9.12";
umaskNeeded = lib.versionOlder cfg.jackd.package.version "1.9.12";
bridgeNeeded = lib.versionAtLeast cfg.jackd.package.version "1.9.12";
in {
options = {
services.jack = {
jackd = {
enable = mkEnableOption ''
enable = lib.mkEnableOption ''
JACK Audio Connection Kit. You need to add yourself to the "jackaudio" group
'';
package = mkPackageOption pkgs "jack2" {
package = lib.mkPackageOption pkgs "jack2" {
example = "jack1";
} // {
# until jack1 promiscuous mode is fixed
internal = true;
};
extraOptions = mkOption {
type = types.listOf types.str;
extraOptions = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [
"-dalsa"
];
example = literalExpression ''
example = lib.literalExpression ''
[ "-dalsa" "--device" "hw:1" ];
'';
description = ''
@ -40,8 +37,8 @@ in {
'';
};
session = mkOption {
type = types.lines;
session = lib.mkOption {
type = lib.types.lines;
description = ''
Commands to run after JACK is started.
'';
@ -50,16 +47,16 @@ in {
};
alsa = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Route audio to/from generic ALSA-using applications using ALSA JACK PCM plugin.
'';
};
support32Bit = mkOption {
type = types.bool;
support32Bit = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to support sound for 32-bit ALSA applications on 64-bit system.
@ -68,8 +65,8 @@ in {
};
loopback = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Create ALSA loopback device, instead of using PCM plugin. Has broader
@ -78,23 +75,23 @@ in {
'';
};
index = mkOption {
type = types.int;
index = lib.mkOption {
type = lib.types.int;
default = 10;
description = ''
Index of an ALSA loopback device.
'';
};
config = mkOption {
type = types.lines;
config = lib.mkOption {
type = lib.types.lines;
description = ''
ALSA config for loopback device.
'';
};
dmixConfig = mkOption {
type = types.lines;
dmixConfig = lib.mkOption {
type = lib.types.lines;
default = "";
example = ''
period_size 2048
@ -107,8 +104,8 @@ in {
'';
};
session = mkOption {
type = types.lines;
session = lib.mkOption {
type = lib.types.lines;
description = ''
Additional commands to run to setup loopback device.
'';
@ -119,9 +116,9 @@ in {
};
config = mkMerge [
config = lib.mkMerge [
(mkIf pcmPlugin {
(lib.mkIf pcmPlugin {
environment.etc."alsa/conf.d/98-jack.conf".text = ''
pcm_type.jack {
libs.native = ${pkgs.alsa-plugins}/lib/alsa-lib/libasound_module_pcm_jack.so ;
@ -136,13 +133,13 @@ in {
'';
})
(mkIf loopback {
(lib.mkIf loopback {
boot.kernelModules = [ "snd-aloop" ];
boot.kernelParams = [ "snd-aloop.index=${toString cfg.loopback.index}" ];
environment.etc."alsa/conf.d/99-jack-loopback.conf".text = cfg.loopback.config;
})
(mkIf cfg.jackd.enable {
(lib.mkIf cfg.jackd.enable {
services.jack.jackd.session = ''
${lib.optionalString bridgeNeeded "${pkgs.a2jmidid}/bin/a2jmidid -e &"}
'';
@ -247,7 +244,7 @@ in {
ExecStart = "${cfg.jackd.package}/bin/jackd ${lib.escapeShellArgs cfg.jackd.extraOptions}";
LimitRTPRIO = 99;
LimitMEMLOCK = "infinity";
} // optionalAttrs umaskNeeded {
} // lib.optionalAttrs umaskNeeded {
UMask = "007";
};
path = [ cfg.jackd.package ];

View File

@ -1,18 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.jmusicbot;
in
{
options = {
services.jmusicbot = {
enable = mkEnableOption "jmusicbot, a Discord music bot that's easy to set up and run yourself";
enable = lib.mkEnableOption "jmusicbot, a Discord music bot that's easy to set up and run yourself";
package = mkPackageOption pkgs "jmusicbot" { };
package = lib.mkPackageOption pkgs "jmusicbot" { };
stateDir = mkOption {
type = types.path;
stateDir = lib.mkOption {
type = lib.types.path;
description = ''
The directory where config.txt and serversettings.json is saved.
If left as the default value this directory will automatically be created before JMusicBot starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.
@ -23,20 +21,20 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.jmusicbot = {
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
description = "Discord music bot that's easy to set up and run yourself!";
serviceConfig = mkMerge [{
serviceConfig = lib.mkMerge [{
ExecStart = "${cfg.package}/bin/JMusicBot";
WorkingDirectory = cfg.stateDir;
Restart = "always";
RestartSec = 20;
DynamicUser = true;
}
(mkIf (cfg.stateDir == "/var/lib/jmusicbot") { StateDirectory = "jmusicbot"; })];
(lib.mkIf (cfg.stateDir == "/var/lib/jmusicbot") { StateDirectory = "jmusicbot"; })];
};
};

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
streams = builtins.attrNames config.services.liquidsoap.streams;
@ -29,7 +26,7 @@ in
options = {
services.liquidsoap.streams = mkOption {
services.liquidsoap.streams = lib.mkOption {
description = ''
Set of Liquidsoap streams to start,
@ -38,7 +35,7 @@ in
default = {};
example = literalExpression ''
example = lib.literalExpression ''
{
myStream1 = "/etc/liquidsoap/myStream1.liq";
myStream2 = ./myStream2.liq;
@ -46,13 +43,13 @@ in
}
'';
type = types.attrsOf (types.either types.path types.str);
type = lib.types.attrsOf (lib.types.either lib.types.path lib.types.str);
};
};
##### implementation
config = mkIf (builtins.length streams != 0) {
config = lib.mkIf (builtins.length streams != 0) {
users.users.liquidsoap = {
uid = config.ids.uids.liquidsoap;

View File

@ -1,7 +1,4 @@
{ config, lib, options, pkgs, ... }:
with lib;
let
cfg = config.services.mpdscribble;
mpdCfg = config.services.mpd;
@ -22,7 +19,7 @@ let
journal = /var/lib/mpdscribble/${secname}.journal
'';
endpoints = concatStringsSep "\n" (mapAttrsToList mkSection cfg.endpoints);
endpoints = lib.concatStringsSep "\n" (lib.mapAttrsToList mkSection cfg.endpoints);
cfgTemplate = pkgs.writeText "mpdscribble.conf" ''
## This file was automatically genenrated by NixOS and will be overwritten.
## Do not edit. Edit your NixOS configuration instead.
@ -31,7 +28,7 @@ let
## http://mpd.wikia.com/wiki/Client:mpdscribble
# HTTP proxy URL.
${optionalString (cfg.proxy != null) "proxy = ${cfg.proxy}"}
${lib.optionalString (cfg.proxy != null) "proxy = ${cfg.proxy}"}
# The location of the mpdscribble log file. The special value
# "syslog" makes mpdscribble use the local syslog daemon. On most
@ -47,7 +44,7 @@ let
# The host running MPD, possibly protected by a password
# ([PASSWORD@]HOSTNAME).
host = ${(optionalString (cfg.passwordFile != null) "{{MPD_PASSWORD}}@") + cfg.host}
host = ${(lib.optionalString (cfg.passwordFile != null) "{{MPD_PASSWORD}}@") + cfg.host}
# The port that the MPD listens on and mpdscribble should try to
# connect to.
@ -59,13 +56,13 @@ let
cfgFile = "/run/mpdscribble/mpdscribble.conf";
replaceSecret = secretFile: placeholder: targetFile:
optionalString (secretFile != null) ''
lib.optionalString (secretFile != null) ''
${pkgs.replace-secret}/bin/replace-secret '${placeholder}' '${secretFile}' '${targetFile}' '';
preStart = pkgs.writeShellScript "mpdscribble-pre-start" ''
cp -f "${cfgTemplate}" "${cfgFile}"
${replaceSecret cfg.passwordFile "{{MPD_PASSWORD}}" cfgFile}
${concatStringsSep "\n" (mapAttrsToList (secname: cfg:
${lib.concatStringsSep "\n" (lib.mapAttrsToList (secname: cfg:
replaceSecret cfg.passwordFile "{{${secname}_PASSWORD}}" cfgFile)
cfg.endpoints)}
'';
@ -77,62 +74,62 @@ in {
options.services.mpdscribble = {
enable = mkEnableOption "mpdscribble, an MPD client which submits info about tracks being played to Last.fm (formerly AudioScrobbler)";
enable = lib.mkEnableOption "mpdscribble, an MPD client which submits info about tracks being played to Last.fm (formerly AudioScrobbler)";
proxy = mkOption {
proxy = lib.mkOption {
default = null;
type = types.nullOr types.str;
type = lib.types.nullOr lib.types.str;
description = ''
HTTP proxy URL.
'';
};
verbose = mkOption {
verbose = lib.mkOption {
default = 1;
type = types.int;
type = lib.types.int;
description = ''
Log level for the mpdscribble daemon.
'';
};
journalInterval = mkOption {
journalInterval = lib.mkOption {
default = 600;
example = 60;
type = types.int;
type = lib.types.int;
description = ''
How often should mpdscribble save the journal file? [seconds]
'';
};
host = mkOption {
host = lib.mkOption {
default = (if mpdCfg.network.listenAddress != "any" then
mpdCfg.network.listenAddress
else
"localhost");
defaultText = literalExpression ''
defaultText = lib.literalExpression ''
if config.${mpdOpt.network.listenAddress} != "any"
then config.${mpdOpt.network.listenAddress}
else "localhost"
'';
type = types.str;
type = lib.types.str;
description = ''
Host for the mpdscribble daemon to search for a mpd daemon on.
'';
};
passwordFile = mkOption {
passwordFile = lib.mkOption {
default = if localMpd then
(findFirst
(c: any (x: x == "read") c.permissions)
(lib.findFirst
(c: lib.any (x: x == "read") c.permissions)
{ passwordFile = null; }
mpdCfg.credentials).passwordFile
else
null;
defaultText = literalMD ''
defaultText = lib.literalMD ''
The first password file with read access configured for MPD when using a local instance,
otherwise `null`.
'';
type = types.nullOr types.str;
type = lib.types.nullOr lib.types.str;
description = ''
File containing the password for the mpd daemon.
If there is a local mpd configured using {option}`services.mpd.credentials`
@ -140,37 +137,37 @@ in {
'';
};
port = mkOption {
port = lib.mkOption {
default = mpdCfg.network.port;
defaultText = literalExpression "config.${mpdOpt.network.port}";
type = types.port;
defaultText = lib.literalExpression "config.${mpdOpt.network.port}";
type = lib.types.port;
description = ''
Port for the mpdscribble daemon to search for a mpd daemon on.
'';
};
endpoints = mkOption {
endpoints = lib.mkOption {
type = (let
endpoint = { name, ... }: {
options = {
url = mkOption {
type = types.str;
url = lib.mkOption {
type = lib.types.str;
default = endpointUrls.${name} or "";
description = "The url endpoint where the scrobble API is listening.";
};
username = mkOption {
type = types.str;
username = lib.mkOption {
type = lib.types.str;
description = ''
Username for the scrobble service.
'';
};
passwordFile = mkOption {
type = types.nullOr types.str;
passwordFile = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "File containing the password, either as MD5SUM or cleartext.";
};
};
};
in types.attrsOf (types.submodule endpoint));
in lib.types.attrsOf (lib.types.submodule endpoint));
default = { };
example = {
"last.fm" = {
@ -181,7 +178,7 @@ in {
description = ''
Endpoints to scrobble to.
If the endpoint is one of "${
concatStringsSep "\", \"" (attrNames endpointUrls)
lib.concatStringsSep "\", \"" (lib.attrNames endpointUrls)
}" the url is set automatically.
'';
};
@ -190,9 +187,9 @@ in {
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.mpdscribble = {
after = [ "network.target" ] ++ (optional localMpd "mpd.service");
after = [ "network.target" ] ++ (lib.optional localMpd "mpd.service");
description = "mpdscribble mpd scrobble client";
wantedBy = [ "multi-user.target" ];
serviceConfig = {

View File

@ -1,18 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
let
name = "networkaudiod";
cfg = config.services.networkaudiod;
in {
options = {
services.networkaudiod = {
enable = mkEnableOption "Networkaudiod (NAA)";
enable = lib.mkEnableOption "Networkaudiod (NAA)";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.packages = [ pkgs.networkaudiod ];
systemd.services.networkaudiod.wantedBy = [ "multi-user.target" ];
};

View File

@ -1,30 +1,27 @@
{ config, lib, pkgs, ... }:
with lib;
let
name = "roon-bridge";
cfg = config.services.roon-bridge;
in {
options = {
services.roon-bridge = {
enable = mkEnableOption "Roon Bridge";
openFirewall = mkOption {
type = types.bool;
enable = lib.mkEnableOption "Roon Bridge";
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports in the firewall for the bridge.
'';
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "roon-bridge";
description = ''
User to run the Roon bridge as.
'';
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "roon-bridge";
description = ''
Group to run the Roon Bridge as.
@ -33,7 +30,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.roon-bridge = {
after = [ "network.target" ];
description = "Roon Bridge";
@ -50,17 +47,17 @@ in {
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPortRanges = [{ from = 9100; to = 9200; }];
allowedUDPPorts = [ 9003 ];
extraCommands = optionalString (!config.networking.nftables.enable) ''
extraCommands = lib.optionalString (!config.networking.nftables.enable) ''
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
iptables -A INPUT -d 224.0.0.0/4 -j ACCEPT
iptables -A INPUT -s 240.0.0.0/5 -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type broadcast -j ACCEPT
'';
extraInputRules = optionalString config.networking.nftables.enable ''
extraInputRules = lib.optionalString config.networking.nftables.enable ''
ip saddr { 224.0.0.0/4, 240.0.0.0/5 } accept
ip daddr 224.0.0.0/4 accept
pkttype { multicast, broadcast } accept
@ -70,7 +67,7 @@ in {
users.groups.${cfg.group} = {};
users.users.${cfg.user} =
optionalAttrs (cfg.user == "roon-bridge") {
lib.optionalAttrs (cfg.user == "roon-bridge") {
isSystemUser = true;
description = "Roon Bridge user";
group = cfg.group;

View File

@ -1,31 +1,28 @@
{ config, lib, pkgs, ... }:
with lib;
let
name = "roon-server";
cfg = config.services.roon-server;
in {
options = {
services.roon-server = {
enable = mkEnableOption "Roon Server";
enable = lib.mkEnableOption "Roon Server";
package = lib.mkPackageOption pkgs "roon-server" { };
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports in the firewall for the server.
'';
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "roon-server";
description = ''
User to run the Roon Server as.
'';
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "roon-server";
description = ''
Group to run the Roon Server as.
@ -34,7 +31,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.roon-server = {
after = [ "network.target" ];
description = "Roon Server";
@ -52,14 +49,14 @@ in {
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPortRanges = [
{ from = 9100; to = 9200; }
{ from = 9330; to = 9339; }
{ from = 30000; to = 30010; }
];
allowedUDPPorts = [ 9003 ];
extraCommands = optionalString (!config.networking.nftables.enable) ''
extraCommands = lib.optionalString (!config.networking.nftables.enable) ''
## IGMP / Broadcast ##
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
iptables -A INPUT -d 224.0.0.0/4 -j ACCEPT
@ -67,7 +64,7 @@ in {
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type broadcast -j ACCEPT
'';
extraInputRules = optionalString config.networking.nftables.enable ''
extraInputRules = lib.optionalString config.networking.nftables.enable ''
ip saddr { 224.0.0.0/4, 240.0.0.0/5 } accept
ip daddr 224.0.0.0/4 accept
pkttype { multicast, broadcast } accept
@ -77,7 +74,7 @@ in {
users.groups.${cfg.group} = {};
users.users.${cfg.user} =
optionalAttrs (cfg.user == "roon-server") {
lib.optionalAttrs (cfg.user == "roon-server") {
isSystemUser = true;
description = "Roon Server user";
group = cfg.group;

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.slimserver;
@ -11,18 +8,18 @@ in {
services.slimserver = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable slimserver.
'';
};
package = mkPackageOption pkgs "slimserver" { };
package = lib.mkPackageOption pkgs "slimserver" { };
dataDir = mkOption {
type = types.path;
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/slimserver";
description = ''
The directory where slimserver stores its state, tag cache,
@ -35,7 +32,7 @@ in {
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' - slimserver slimserver - -"

View File

@ -1,14 +1,11 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.spotifyd;
toml = pkgs.formats.toml {};
warnConfig =
if cfg.config != ""
then lib.trace "Using the stringly typed .config attribute is discouraged. Use the TOML typed .settings attribute instead."
else id;
else lib.id;
spotifydConf =
if cfg.settings != {}
then toml.generate "spotify.conf" cfg.settings
@ -17,18 +14,18 @@ in
{
options = {
services.spotifyd = {
enable = mkEnableOption "spotifyd, a Spotify playing daemon";
enable = lib.mkEnableOption "spotifyd, a Spotify playing daemon";
config = mkOption {
config = lib.mkOption {
default = "";
type = types.lines;
type = lib.types.lines;
description = ''
(Deprecated) Configuration for Spotifyd. For syntax and directives, see
<https://docs.spotifyd.rs/config/File.html>.
'';
};
settings = mkOption {
settings = lib.mkOption {
default = {};
type = toml.type;
example = { global.bitrate = 320; };
@ -40,7 +37,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = cfg.config == "" || cfg.settings == {};
@ -65,5 +62,5 @@ in
};
};
meta.maintainers = [ maintainers.anderslundstedt ];
meta.maintainers = [ lib.maintainers.anderslundstedt ];
}

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.ympd;
in {
@ -12,26 +9,26 @@ in {
services.ympd = {
enable = mkEnableOption "ympd, the MPD Web GUI";
enable = lib.mkEnableOption "ympd, the MPD Web GUI";
webPort = mkOption {
type = types.either types.str types.port; # string for backwards compat
webPort = lib.mkOption {
type = lib.types.either lib.types.str lib.types.port; # string for backwards compat
default = "8080";
description = "The port where ympd's web interface will be available.";
example = "ssl://8080:/path/to/ssl-private-key.pem";
};
mpd = {
host = mkOption {
type = types.str;
host = lib.mkOption {
type = lib.types.str;
default = "localhost";
description = "The host where MPD is listening.";
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = config.services.mpd.network.port;
defaultText = literalExpression "config.services.mpd.network.port";
defaultText = lib.literalExpression "config.services.mpd.network.port";
description = "The port where MPD is listening.";
example = 6600;
};
@ -44,7 +41,7 @@ in {
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.ympd = {
description = "Standalone MPD Web GUI written in C";

View File

@ -1,20 +1,17 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.borgmatic;
settingsFormat = pkgs.formats.yaml { };
repository = with types; submodule {
repository = with lib.types; submodule {
options = {
path = mkOption {
path = lib.mkOption {
type = str;
description = ''
Path to the repository
'';
};
label = mkOption {
label = lib.mkOption {
type = str;
description = ''
Label to the repository
@ -22,10 +19,10 @@ let
};
};
};
cfgType = with types; submodule {
cfgType = with lib.types; submodule {
freeformType = settingsFormat.type;
options = {
source_directories = mkOption {
source_directories = lib.mkOption {
type = listOf str;
default = [];
description = ''
@ -34,7 +31,7 @@ let
'';
example = [ "/home" "/etc" "/var/log/syslog*" "/home/user/path with spaces" ];
};
repositories = mkOption {
repositories = lib.mkOption {
type = listOf repository;
default = [];
description = ''
@ -59,33 +56,33 @@ let
in
{
options.services.borgmatic = {
enable = mkEnableOption "borgmatic";
enable = lib.mkEnableOption "borgmatic";
settings = mkOption {
settings = lib.mkOption {
description = ''
See https://torsion.org/borgmatic/docs/reference/configuration/
'';
default = null;
type = types.nullOr cfgType;
type = lib.types.nullOr cfgType;
};
configurations = mkOption {
configurations = lib.mkOption {
description = ''
Set of borgmatic configurations, see https://torsion.org/borgmatic/docs/reference/configuration/
'';
default = { };
type = types.attrsOf cfgType;
type = lib.types.attrsOf cfgType;
};
enableConfigCheck = mkEnableOption "checking all configurations during build time" // { default = true; };
enableConfigCheck = lib.mkEnableOption "checking all configurations during build time" // { default = true; };
};
config =
let
configFiles =
(optionalAttrs (cfg.settings != null) { "borgmatic/config.yaml".source = cfgfile; }) //
mapAttrs'
(name: value: nameValuePair
(lib.optionalAttrs (cfg.settings != null) { "borgmatic/config.yaml".source = cfgfile; }) //
lib.mapAttrs'
(name: value: lib.nameValuePair
"borgmatic.d/${name}.yaml"
{ source = settingsFormat.generate "${name}.yaml" value; })
cfg.configurations;
@ -94,12 +91,12 @@ in
touch $out
'';
in
mkIf cfg.enable {
lib.mkIf cfg.enable {
warnings = []
++ optional (cfg.settings != null && cfg.settings ? location)
++ lib.optional (cfg.settings != null && cfg.settings ? location)
"`services.borgmatic.settings.location` is deprecated, please move your options out of sections to the global scope"
++ optional (catAttrs "location" (attrValues cfg.configurations) != [])
++ lib.optional (lib.catAttrs "location" (lib.attrValues cfg.configurations) != [])
"`services.borgmatic.configurations.<name>.location` is deprecated, please move your options out of sections to the global scope"
;
@ -112,6 +109,6 @@ in
# Workaround: https://github.com/NixOS/nixpkgs/issues/81138
systemd.timers.borgmatic.wantedBy = [ "timers.target" ];
system.checks = mkIf cfg.enableConfigCheck (mapAttrsToList borgmaticCheck configFiles);
system.checks = lib.mkIf cfg.enableConfigCheck (lib.mapAttrsToList borgmaticCheck configFiles);
};
}

View File

@ -1,27 +1,24 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.duplicati;
in
{
options = {
services.duplicati = {
enable = mkEnableOption "Duplicati";
enable = lib.mkEnableOption "Duplicati";
package = mkPackageOption pkgs "duplicati" { };
package = lib.mkPackageOption pkgs "duplicati" { };
port = mkOption {
port = lib.mkOption {
default = 8200;
type = types.port;
type = lib.types.port;
description = ''
Port serving the web interface
'';
};
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/duplicati";
description = ''
The directory where Duplicati stores its data files.
@ -34,18 +31,18 @@ in
'';
};
interface = mkOption {
interface = lib.mkOption {
default = "127.0.0.1";
type = types.str;
type = lib.types.str;
description = ''
Listening interface for the web UI
Set it to "any" to listen on all available interfaces
'';
};
user = mkOption {
user = lib.mkOption {
default = "duplicati";
type = types.str;
type = lib.types.str;
description = ''
Duplicati runs as it's own user. It will only be able to backup world-readable files.
Run as root with special care.
@ -54,21 +51,21 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.services.duplicati = {
description = "Duplicati backup";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = mkMerge [
serviceConfig = lib.mkMerge [
{
User = cfg.user;
Group = "duplicati";
ExecStart = "${cfg.package}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=${cfg.dataDir}";
Restart = "on-failure";
}
(mkIf (cfg.dataDir == "/var/lib/duplicati") {
(lib.mkIf (cfg.dataDir == "/var/lib/duplicati") {
StateDirectory = "duplicati";
})
];

View File

@ -1,30 +1,28 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.duplicity;
stateDirectory = "/var/lib/duplicity";
localTarget =
if hasPrefix "file://" cfg.targetUrl
then removePrefix "file://" cfg.targetUrl else null;
if lib.hasPrefix "file://" cfg.targetUrl
then lib.removePrefix "file://" cfg.targetUrl else null;
in
{
options.services.duplicity = {
enable = mkEnableOption "backups with duplicity";
enable = lib.mkEnableOption "backups with duplicity";
root = mkOption {
type = types.path;
root = lib.mkOption {
type = lib.types.path;
default = "/";
description = ''
Root directory to backup.
'';
};
include = mkOption {
type = types.listOf types.str;
include = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
example = [ "/home" ];
description = ''
@ -33,8 +31,8 @@ in
'';
};
exclude = mkOption {
type = types.listOf types.str;
exclude = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = ''
List of paths to exclude from backups. See the FILE SELECTION section in
@ -42,8 +40,8 @@ in
'';
};
includeFileList = mkOption {
type = types.nullOr types.path;
includeFileList = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
example = /path/to/fileList.txt;
description = ''
@ -53,8 +51,8 @@ in
'';
};
excludeFileList = mkOption {
type = types.nullOr types.path;
excludeFileList = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
example = /path/to/fileList.txt;
description = ''
@ -64,8 +62,8 @@ in
'';
};
targetUrl = mkOption {
type = types.str;
targetUrl = lib.mkOption {
type = lib.types.str;
example = "s3://host:port/prefix";
description = ''
Target url to backup to. See the URL FORMAT section in
@ -73,8 +71,8 @@ in
'';
};
secretFile = mkOption {
type = types.nullOr types.path;
secretFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = ''
Path of a file containing secrets (gpg passphrase, access key...) in
@ -88,8 +86,8 @@ in
'';
};
frequency = mkOption {
type = types.nullOr types.str;
frequency = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = "daily";
description = ''
Run duplicity with the given frequency (see
@ -98,8 +96,8 @@ in
'';
};
extraFlags = mkOption {
type = types.listOf types.str;
extraFlags = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
example = [ "--backend-retry-delay" "100" ];
description = ''
@ -108,8 +106,8 @@ in
'';
};
fullIfOlderThan = mkOption {
type = types.str;
fullIfOlderThan = lib.mkOption {
type = lib.types.str;
default = "never";
example = "1M";
description = ''
@ -123,8 +121,8 @@ in
};
cleanup = {
maxAge = mkOption {
type = types.nullOr types.str;
maxAge = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
example = "6M";
description = ''
@ -132,8 +130,8 @@ in
will not be deleted if backup sets newer than time depend on them.
'';
};
maxFull = mkOption {
type = types.nullOr types.int;
maxFull = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
example = 2;
description = ''
@ -142,8 +140,8 @@ in
associated incremental sets).
'';
};
maxIncr = mkOption {
type = types.nullOr types.int;
maxIncr = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
example = 1;
description = ''
@ -155,7 +153,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd = {
services.duplicity = {
description = "backup files with duplicity";
@ -164,8 +162,8 @@ in
script =
let
target = escapeShellArg cfg.targetUrl;
extra = escapeShellArgs ([ "--archive-dir" stateDirectory ] ++ cfg.extraFlags);
target = lib.escapeShellArg cfg.targetUrl;
extra = lib.escapeShellArgs ([ "--archive-dir" stateDirectory ] ++ cfg.extraFlags);
dup = "${pkgs.duplicity}/bin/duplicity";
in
''
@ -178,8 +176,8 @@ in
[ cfg.root cfg.targetUrl ]
++ lib.optionals (cfg.includeFileList != null) [ "--include-filelist" cfg.includeFileList ]
++ lib.optionals (cfg.excludeFileList != null) [ "--exclude-filelist" cfg.excludeFileList ]
++ concatMap (p: [ "--include" p ]) cfg.include
++ concatMap (p: [ "--exclude" p ]) cfg.exclude
++ lib.concatMap (p: [ "--include" p ]) cfg.include
++ lib.concatMap (p: [ "--exclude" p ]) cfg.exclude
++ (lib.optionals (cfg.fullIfOlderThan != "never" && cfg.fullIfOlderThan != "always") [ "--full-if-older-than" cfg.fullIfOlderThan ])
)} ${extra}
'';
@ -188,19 +186,19 @@ in
ProtectSystem = "strict";
ProtectHome = "read-only";
StateDirectory = baseNameOf stateDirectory;
} // optionalAttrs (localTarget != null) {
} // lib.optionalAttrs (localTarget != null) {
ReadWritePaths = localTarget;
} // optionalAttrs (cfg.secretFile != null) {
} // lib.optionalAttrs (cfg.secretFile != null) {
EnvironmentFile = cfg.secretFile;
};
} // optionalAttrs (cfg.frequency != null) {
} // lib.optionalAttrs (cfg.frequency != null) {
startAt = cfg.frequency;
};
tmpfiles.rules = optional (localTarget != null) "d ${localTarget} 0700 root root -";
tmpfiles.rules = lib.optional (localTarget != null) "d ${localTarget} 0700 root root -";
};
assertions = singleton {
assertions = lib.singleton {
# Duplicity will fail if the last file selection option is an include. It
# is not always possible to detect but this simple case can be caught.
assertion = cfg.include != [ ] -> cfg.exclude != [ ] || cfg.extraFlags != [ ];

View File

@ -314,7 +314,7 @@ in
binlog-ignore-db = [ "information_schema" "performance_schema" "mysql" ];
})
(lib.mkIf (!isMariaDB) {
plugin-load-add = "auth_socket.so";
plugin-load-add = [ "auth_socket.so" ];
})
];

View File

@ -263,6 +263,15 @@ in {
serve = {
enable = lib.mkEnableOption "automatic nginx and uwsgi setup for mailman-web";
uwsgiSettings = lib.mkOption {
default = { };
example = { uwsgi.buffer-size = 8192; };
inherit (pkgs.formats.json {}) type;
description = ''
Extra configuration to merge into uwsgi config.
'';
};
virtualRoot = lib.mkOption {
default = "/";
example = lib.literalExpression "/lists";
@ -580,18 +589,20 @@ in {
};
mailman-uwsgi = lib.mkIf cfg.serve.enable (let
uwsgiConfig.uwsgi = {
type = "normal";
plugins = ["python3"];
home = webEnv;
http = "127.0.0.1:18507";
}
// (if cfg.serve.virtualRoot == "/"
then { module = "mailman_web.wsgi:application"; }
else {
mount = "${cfg.serve.virtualRoot}=mailman_web.wsgi:application";
manage-script-name = true;
uwsgiConfig = lib.recursiveUpdate {
uwsgi = {
type = "normal";
plugins = ["python3"];
home = webEnv;
http = "127.0.0.1:18507";
}
// (if cfg.serve.virtualRoot == "/"
then { module = "mailman_web.wsgi:application"; }
else {
mount = "${cfg.serve.virtualRoot}=mailman_web.wsgi:application";
manage-script-name = true;
});
} cfg.serve.uwsgiSettings;
uwsgiConfigFile = pkgs.writeText "uwsgi-mailman.json" (builtins.toJSON uwsgiConfig);
in {
wantedBy = ["multi-user.target"];

View File

@ -1348,7 +1348,7 @@ in {
ln -sf ${cableYml} ${cfg.statePath}/config/cable.yml
ln -sf ${resqueYml} ${cfg.statePath}/config/resque.yml
${cfg.packages.gitlab-shell}/bin/gitlab-shell-install
${cfg.packages.gitlab-shell}/support/make_necessary_dirs
${optionalString cfg.smtp.enable ''
install -m u=rw ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb

View File

@ -0,0 +1,251 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.omnom;
settingsFormat = pkgs.formats.yaml { };
configFile = settingsFormat.generate "omnom-config.yml" cfg.settings;
in
{
options = {
services.omnom = {
enable = lib.mkEnableOption "Omnom, a webpage bookmarking and snapshotting service";
package = lib.mkPackageOption pkgs "omnom" { };
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/omnom";
description = "The directory where Omnom stores its data files.";
};
port = lib.mkOption {
type = lib.types.port;
default = 7331;
description = "The Omnom service port.";
};
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to open ports in the firewall.";
};
user = lib.mkOption {
type = lib.types.nonEmptyStr;
default = "omnom";
description = "The Omnom service user.";
};
group = lib.mkOption {
type = lib.types.nonEmptyStr;
default = "omnom";
description = "The Omnom service group.";
};
passwordFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = "File containing the password for the SMTP user.";
};
settings = lib.mkOption {
description = ''
Configuration options for the /etc/omnom/config.yml file.
'';
type = lib.types.submodule {
freeformType = settingsFormat.type;
options = {
app = {
debug = lib.mkEnableOption "debug mode";
disable_signup = lib.mkEnableOption "restricting user creation";
results_per_page = lib.mkOption {
type = lib.types.int;
default = 20;
description = "Number of results per page.";
};
};
db = {
connection = lib.mkOption {
type = lib.types.str;
default = "${cfg.dataDir}/db.sqlite3";
description = "Database connection URI.";
defaultText = lib.literalExpression ''
"''${config.services.omnom.dataDir}/db.sqlite3"
'';
};
type = lib.mkOption {
type = lib.types.enum [ "sqlite" ];
default = "sqlite";
description = "Database type.";
};
};
server = {
address = lib.mkOption {
type = lib.types.str;
default = "127.0.0.1:${toString cfg.port}";
description = "Server address.";
defaultText = lib.literalExpression ''
"127.0.0.1:''${config.services.omnom.port}"
'';
};
secure_cookie = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Whether to limit cookies to a secure channel.";
};
};
storage = {
type = lib.mkOption {
type = lib.types.str;
default = "fs";
description = "Storage type.";
};
root = lib.mkOption {
type = lib.types.path;
default = "${cfg.dataDir}/static/data";
defaultText = lib.literalExpression ''
"''${config.services.omnom.dataDir}/static/data"
'';
description = "Where the snapshots are saved.";
};
};
smtp = {
tls = lib.mkEnableOption "Whether TLS encryption should be used.";
tls_allow_insecure = lib.mkEnableOption "Whether to allow insecure TLS.";
host = lib.mkOption {
type = lib.types.str;
default = "";
description = "SMTP server hostname.";
};
port = lib.mkOption {
type = lib.types.port;
default = 25;
description = "SMTP server port address.";
};
sender = lib.mkOption {
type = lib.types.str;
default = "Omnom <omnom@127.0.0.1>";
description = "Omnom sender e-mail.";
};
send_timeout = lib.mkOption {
type = lib.types.int;
default = 10;
description = "Send timeout duration in seconds.";
};
connection_timeout = lib.mkOption {
type = lib.types.int;
default = 5;
description = "Connection timeout duration in seconds.";
};
};
};
};
default = { };
};
};
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = !lib.hasAttr "password" cfg.settings.smtp;
message = ''
`services.omnom.settings.smtp.password` must be defined in `services.omnom.passwordFile`.
'';
}
{
assertion = !(cfg.settings.storage.root != "${cfg.dataDir}/static/data");
message = ''
For Omnom to access the snapshots, it needs the storage root
directory to be inside the service's working directory.
As such, `services.omnom.settings.storage.root` must be the same as
`''${services.omnom.dataDir}/static/data`.
'';
}
];
systemd.services.omnom = {
path = with pkgs; [
yq-go # needed by startup script
];
serviceConfig = {
User = cfg.user;
Group = cfg.group;
StateDirectory = "omnom";
WorkingDirectory = cfg.dataDir;
Restart = "on-failure";
RestartSec = "10s";
LoadCredential = lib.optional (cfg.passwordFile != null) "PASSWORD_FILE:${cfg.passwordFile}";
};
script = ''
install -m 600 ${configFile} $STATE_DIRECTORY/config.yml
${lib.optionalString (cfg.passwordFile != null) ''
# merge password into main config
yq -i '.smtp.password = load(env(CREDENTIALS_DIRECTORY) + "/PASSWORD_FILE")' \
"$STATE_DIRECTORY/config.yml"
''}
${lib.getExe cfg.package} listen --config "$STATE_DIRECTORY/config.yml"
'';
after = [
"network.target"
"systemd-tmpfiles-setup.service"
];
wantedBy = [ "multi-user.target" ];
};
# TODO: The program needs to run from the dataDir for it the work, which
# is difficult to do with a DynamicUser.
# After this has been fixed upstream, remove this and use DynamicUser, instead.
# See: https://github.com/asciimoo/omnom/issues/21
users = {
users = lib.mkIf (cfg.user == "omnom") {
omnom = {
group = cfg.group;
home = cfg.dataDir;
isSystemUser = true;
};
};
groups = lib.mkIf (cfg.group == "omnom") { omnom = { }; };
};
systemd.tmpfiles.settings."10-omnom" =
let
settings = {
inherit (cfg) user group;
};
in
{
"${cfg.dataDir}"."d" = settings;
"${cfg.dataDir}/templates"."L+" = settings // {
argument = "${cfg.package}/share/templates";
};
"${cfg.settings.storage.root}"."d" = settings;
};
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
};
environment.systemPackages =
let
omnom-wrapped = pkgs.writeScriptBin "omnom" ''
#! ${pkgs.runtimeShell}
cd ${cfg.dataDir}
sudo=exec
if [[ "$USER" != ${cfg.user} ]]; then
sudo='exec /run/wrappers/bin/sudo -u ${cfg.user}'
fi
$sudo ${lib.getExe cfg.package} "$@"
'';
in
[ omnom-wrapped ];
};
}

View File

@ -1,6 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.paperless;
@ -17,16 +15,16 @@ let
PAPERLESS_CONSUMPTION_DIR = cfg.consumptionDir;
PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont;
GUNICORN_CMD_ARGS = "--bind=${cfg.address}:${toString cfg.port}";
} // optionalAttrs (config.time.timeZone != null) {
} // lib.optionalAttrs (config.time.timeZone != null) {
PAPERLESS_TIME_ZONE = config.time.timeZone;
} // optionalAttrs enableRedis {
} // lib.optionalAttrs enableRedis {
PAPERLESS_REDIS = "unix://${redisServer.unixSocket}";
} // optionalAttrs (cfg.settings.PAPERLESS_ENABLE_NLTK or true) {
} // lib.optionalAttrs (cfg.settings.PAPERLESS_ENABLE_NLTK or true) {
PAPERLESS_NLTK_DIR = pkgs.symlinkJoin {
name = "paperless_ngx_nltk_data";
paths = cfg.package.nltkData;
};
} // optionalAttrs (cfg.openMPThreadingWorkaround) {
} // lib.optionalAttrs (cfg.openMPThreadingWorkaround) {
OMP_NUM_THREADS = "1";
} // (lib.mapAttrs (_: s:
if (lib.isAttrs s || lib.isList s) then builtins.toJSON s
@ -53,7 +51,7 @@ let
CapabilityBoundingSet = "";
# ProtectClock adds DeviceAllow=char-rtc r
DeviceAllow = "";
EnvironmentFile = mkIf (cfg.environmentFile != null) cfg.environmentFile;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
@ -80,22 +78,22 @@ let
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SupplementaryGroups = optional enableRedis redisServer.user;
SupplementaryGroups = lib.optional enableRedis redisServer.user;
SystemCallArchitectures = "native";
SystemCallFilter = [ "@system-service" "~@privileged @setuid @keyring" ];
UMask = "0066";
};
in
{
meta.maintainers = with maintainers; [ leona SuperSandro2000 erikarvstedt ];
meta.maintainers = with lib.maintainers; [ leona SuperSandro2000 erikarvstedt ];
imports = [
(mkRenamedOptionModule [ "services" "paperless-ng" ] [ "services" "paperless" ])
(mkRenamedOptionModule [ "services" "paperless" "extraConfig" ] [ "services" "paperless" "settings" ])
(lib.mkRenamedOptionModule [ "services" "paperless-ng" ] [ "services" "paperless" ])
(lib.mkRenamedOptionModule [ "services" "paperless" "extraConfig" ] [ "services" "paperless" "settings" ])
];
options.services.paperless = {
enable = mkOption {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
@ -110,34 +108,34 @@ in
'';
};
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/paperless";
description = "Directory to store the Paperless data.";
};
mediaDir = mkOption {
type = types.str;
mediaDir = lib.mkOption {
type = lib.types.str;
default = "${cfg.dataDir}/media";
defaultText = literalExpression ''"''${dataDir}/media"'';
defaultText = lib.literalExpression ''"''${dataDir}/media"'';
description = "Directory to store the Paperless documents.";
};
consumptionDir = mkOption {
type = types.str;
consumptionDir = lib.mkOption {
type = lib.types.str;
default = "${cfg.dataDir}/consume";
defaultText = literalExpression ''"''${dataDir}/consume"'';
defaultText = lib.literalExpression ''"''${dataDir}/consume"'';
description = "Directory from which new documents are imported.";
};
consumptionDirIsPublic = mkOption {
type = types.bool;
consumptionDirIsPublic = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether all users can write to the consumption dir.";
};
passwordFile = mkOption {
type = types.nullOr types.path;
passwordFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
example = "/run/keys/paperless-password";
description = ''
@ -158,19 +156,19 @@ in
'';
};
address = mkOption {
type = types.str;
address = lib.mkOption {
type = lib.types.str;
default = "localhost";
description = "Web interface address.";
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 28981;
description = "Web interface port.";
};
settings = mkOption {
settings = lib.mkOption {
type = lib.types.submodule {
freeformType = with lib.types; attrsOf (let
typeList = [ bool float int str path package ];
@ -196,19 +194,19 @@ in
};
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = defaultUser;
description = "User under which Paperless runs.";
};
package = mkPackageOption pkgs "paperless-ngx" { } // {
package = lib.mkPackageOption pkgs "paperless-ngx" { } // {
apply = pkg: pkg.override {
tesseract5 = pkg.tesseract5.override {
# always enable detection modules
# tesseract fails to build when eng is not present
enableLanguages = if cfg.settings ? PAPERLESS_OCR_LANGUAGE then
lists.unique (
lib.lists.unique (
[ "equ" "osd" "eng" ]
++ lib.splitString "+" cfg.settings.PAPERLESS_OCR_LANGUAGE
)
@ -217,7 +215,7 @@ in
};
};
openMPThreadingWorkaround = mkEnableOption ''
openMPThreadingWorkaround = lib.mkEnableOption ''
a workaround for document classifier timeouts.
Paperless uses OpenBLAS via scikit-learn for document classification.
@ -229,10 +227,10 @@ in
This sets `OMP_NUM_THREADS` to `1` in order to mitigate the issue. See
https://github.com/NixOS/nixpkgs/issues/240591 for more information
'' // mkOption { default = true; };
'' // lib.mkOption { default = true; };
environmentFile = mkOption {
type = types.nullOr lib.types.path;
environmentFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
example = "/run/secrets/paperless";
description = ''
@ -250,8 +248,8 @@ in
};
};
config = mkIf cfg.enable {
services.redis.servers.paperless.enable = mkIf enableRedis true;
config = lib.mkIf cfg.enable {
services.redis.servers.paperless.enable = lib.mkIf enableRedis true;
systemd.slices.system-paperless = {
description = "Paperless Document Management System Slice";
@ -308,7 +306,7 @@ in
echo ${cfg.package.version} > "$versionFile"
fi
''
+ optionalString (cfg.passwordFile != null) ''
+ lib.optionalString (cfg.passwordFile != null) ''
export PAPERLESS_ADMIN_USER="''${PAPERLESS_ADMIN_USER:-admin}"
PAPERLESS_ADMIN_PASSWORD=$(cat "$CREDENTIALS_DIRECTORY/PAPERLESS_ADMIN_PASSWORD")
export PAPERLESS_ADMIN_PASSWORD
@ -320,7 +318,7 @@ in
echo "$superuserState" > "$superuserStateFile"
fi
'';
} // optionalAttrs enableRedis {
} // lib.optionalAttrs enableRedis {
after = [ "redis-paperless.service" ];
};
@ -401,7 +399,7 @@ in
unitConfig.JoinsNamespaceOf = "paperless-task-queue.service";
};
users = optionalAttrs (cfg.user == defaultUser) {
users = lib.optionalAttrs (cfg.user == defaultUser) {
users.${defaultUser} = {
group = defaultUser;
uid = config.ids.uids.paperless;

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.parsoid;
@ -15,19 +12,19 @@ let
module = "lib/index.js";
entrypoint = "apiServiceWorker";
conf = {
mwApis = map (x: if isAttrs x then x else { uri = x; }) cfg.wikis;
mwApis = map (x: if lib.isAttrs x then x else { uri = x; }) cfg.wikis;
serverInterface = cfg.interface;
serverPort = cfg.port;
};
}];
};
confFile = pkgs.writeText "config.yml" (builtins.toJSON (recursiveUpdate confTree cfg.extraConfig));
confFile = pkgs.writeText "config.yml" (builtins.toJSON (lib.recursiveUpdate confTree cfg.extraConfig));
in
{
imports = [
(mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] "Use services.parsoid.wikis instead")
(lib.mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] "Use services.parsoid.wikis instead")
];
##### interface
@ -36,8 +33,8 @@ in
services.parsoid = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable Parsoid -- bidirectional
@ -45,40 +42,40 @@ in
'';
};
wikis = mkOption {
type = types.listOf (types.either types.str types.attrs);
wikis = lib.mkOption {
type = lib.types.listOf (lib.types.either lib.types.str lib.types.attrs);
example = [ "http://localhost/api.php" ];
description = ''
Used MediaWiki API endpoints.
'';
};
workers = mkOption {
type = types.int;
workers = lib.mkOption {
type = lib.types.int;
default = 2;
description = ''
Number of Parsoid workers.
'';
};
interface = mkOption {
type = types.str;
interface = lib.mkOption {
type = lib.types.str;
default = "127.0.0.1";
description = ''
Interface to listen on.
'';
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 8000;
description = ''
Port to listen on.
'';
};
extraConfig = mkOption {
type = types.attrs;
extraConfig = lib.mkOption {
type = lib.types.attrs;
default = {};
description = ''
Extra configuration to add to parsoid configuration.
@ -91,7 +88,7 @@ in
##### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.parsoid = {
description = "Bidirectional wikitext parser";

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.pinnwand;
@ -10,25 +7,25 @@ let
in
{
options.services.pinnwand = {
enable = mkEnableOption "Pinnwand, a pastebin";
enable = lib.mkEnableOption "Pinnwand, a pastebin";
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
description = "The port to listen on.";
default = 8000;
};
settings = mkOption {
settings = lib.mkOption {
default = {};
description = ''
Your {file}`pinnwand.toml` as a Nix attribute set. Look up
possible options in the [documentation](https://pinnwand.readthedocs.io/en/v${pkgs.pinnwand.version}/configuration.html).
'';
type = types.submodule {
type = lib.types.submodule {
freeformType = format.type;
options = {
database_uri = mkOption {
type = types.str;
database_uri = lib.mkOption {
type = lib.types.str;
default = "sqlite:////var/lib/pinnwand/pinnwand.db";
example = "sqlite:///:memory";
description = ''
@ -38,16 +35,16 @@ in
'';
};
paste_size = mkOption {
type = types.ints.positive;
paste_size = lib.mkOption {
type = lib.types.ints.positive;
default = 262144;
example = 524288;
description = ''
Maximum size of a paste in bytes.
'';
};
paste_help = mkOption {
type = types.str;
paste_help = lib.mkOption {
type = lib.types.str;
default = ''
<p>Welcome to pinnwand, this site is a pastebin. It allows you to share code with others. If you write code in the text area below and press the paste button you will be given a link you can share with others so they can view your code as well.</p><p>People with the link can view your pasted code, only you can remove your paste and it expires automatically. Note that anyone could guess the URI to your paste so don't rely on it being private.</p>
'';
@ -55,8 +52,8 @@ in
Raw HTML help text shown in the header area.
'';
};
footer = mkOption {
type = types.str;
footer = lib.mkOption {
type = lib.types.str;
default = ''
View <a href="//github.com/supakeen/pinnwand" target="_BLANK">source code</a>, the <a href="/removal">removal</a> or <a href="/expiry">expiry</a> stories, or read the <a href="/about">about</a> page.
'';
@ -69,7 +66,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.pinnwand = {
description = "Pinnwannd HTTP Server";
after = [ "network.target" ];

View File

@ -1,53 +1,50 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.plex;
in
{
imports = [
(mkRemovedOptionModule [ "services" "plex" "managePlugins" ] "Please omit or define the option: `services.plex.extraPlugins' instead.")
(lib.mkRemovedOptionModule [ "services" "plex" "managePlugins" ] "Please omit or define the option: `services.plex.extraPlugins' instead.")
];
options = {
services.plex = {
enable = mkEnableOption "Plex Media Server";
enable = lib.mkEnableOption "Plex Media Server";
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/plex";
description = ''
The directory where Plex stores its data files.
'';
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports in the firewall for the media server.
'';
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "plex";
description = ''
User account under which Plex runs.
'';
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "plex";
description = ''
Group under which Plex runs.
'';
};
extraPlugins = mkOption {
type = types.listOf types.path;
extraPlugins = lib.mkOption {
type = lib.types.listOf lib.types.path;
default = [];
description = ''
A list of paths to extra plugin bundles to install in Plex's plugin
@ -55,7 +52,7 @@ in
symlinks in Plex's plugin directory will be cleared and this module
will symlink all of the paths specified here to that directory.
'';
example = literalExpression ''
example = lib.literalExpression ''
[
(builtins.path {
name = "Audnexus.bundle";
@ -70,8 +67,8 @@ in
'';
};
extraScanners = mkOption {
type = types.listOf types.path;
extraScanners = lib.mkOption {
type = lib.types.listOf lib.types.path;
default = [];
description = ''
A list of paths to extra scanners to install in Plex's scanners
@ -81,7 +78,7 @@ in
in Plex's scanners directory will be cleared and this module will
symlink all of the paths specified here to that directory.
'';
example = literalExpression ''
example = lib.literalExpression ''
[
(fetchFromGitHub {
owner = "ZeroQI";
@ -93,8 +90,8 @@ in
'';
};
accelerationDevices = mkOption {
type = types.listOf types.str;
accelerationDevices = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = ["*"];
example = [ "/dev/dri/renderD128" ];
description = ''
@ -104,7 +101,7 @@ in
'';
};
package = mkPackageOption pkgs "plex" {
package = lib.mkPackageOption pkgs "plex" {
extraDescription = ''
Plex subscribers may wish to use their own package here,
pointing to subscriber-only server versions.
@ -113,7 +110,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
# Most of this is just copied from the RPM package's systemd service file.
systemd.services.plex = {
description = "Plex Media Server";
@ -149,7 +146,7 @@ in
NoNewPrivileges = true;
PrivateTmp = true;
PrivateDevices = cfg.accelerationDevices == [];
DeviceAllow = mkIf (cfg.accelerationDevices != [] && !lib.elem "*" cfg.accelerationDevices) cfg.accelerationDevices;
DeviceAllow = lib.mkIf (cfg.accelerationDevices != [] && !lib.elem "*" cfg.accelerationDevices) cfg.accelerationDevices;
ProtectSystem = true;
ProtectHome = true;
ProtectControlGroups = true;
@ -167,8 +164,8 @@ in
environment = {
# Configuration for our FHS userenv script
PLEX_DATADIR=cfg.dataDir;
PLEX_PLUGINS=concatMapStringsSep ":" builtins.toString cfg.extraPlugins;
PLEX_SCANNERS=concatMapStringsSep ":" builtins.toString cfg.extraScanners;
PLEX_PLUGINS=lib.concatMapStringsSep ":" builtins.toString cfg.extraPlugins;
PLEX_SCANNERS=lib.concatMapStringsSep ":" builtins.toString cfg.extraScanners;
# The following variables should be set by the FHS userenv script:
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR
@ -186,19 +183,19 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 32400 3005 8324 32469 ];
allowedUDPPorts = [ 1900 5353 32410 32412 32413 32414 ];
};
users.users = mkIf (cfg.user == "plex") {
users.users = lib.mkIf (cfg.user == "plex") {
plex = {
group = cfg.group;
uid = config.ids.uids.plex;
};
};
users.groups = mkIf (cfg.group == "plex") {
users.groups = lib.mkIf (cfg.group == "plex") {
plex = {
gid = config.ids.gids.plex;
};

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.plikd;
@ -11,15 +8,15 @@ in
{
options = {
services.plikd = {
enable = mkEnableOption "plikd, a temporary file upload system";
enable = lib.mkEnableOption "plikd, a temporary file upload system";
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Open ports in the firewall for the plikd.";
};
settings = mkOption {
settings = lib.mkOption {
type = format.type;
default = {};
description = ''
@ -30,8 +27,8 @@ in
};
};
config = mkIf cfg.enable {
services.plikd.settings = mapAttrs (name: mkDefault) {
config = lib.mkIf cfg.enable {
services.plikd.settings = lib.mapAttrs (name: lib.mkDefault) {
ListenPort = 8080;
ListenAddress = "localhost";
DataBackend = "file";
@ -75,7 +72,7 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.settings.ListenPort ];
};
};

View File

@ -2,8 +2,6 @@
, pkgs
, lib
, ...}:
with lib;
let
cfg = config.services.polaris;
settingsFormat = pkgs.formats.toml {};
@ -11,31 +9,31 @@ in
{
options = {
services.polaris = {
enable = mkEnableOption "Polaris Music Server";
enable = lib.mkEnableOption "Polaris Music Server";
package = mkPackageOption pkgs "polaris" { };
package = lib.mkPackageOption pkgs "polaris" { };
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "polaris";
description = "User account under which Polaris runs.";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "polaris";
description = "Group under which Polaris is run.";
};
extraGroups = mkOption {
type = types.listOf types.str;
extraGroups = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [];
description = "Polaris' auxiliary groups.";
example = literalExpression ''["media" "music"]'';
example = lib.literalExpression ''["media" "music"]'';
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 5050;
description = ''
The port which the Polaris REST api and web UI should listen to.
@ -43,7 +41,7 @@ in
'';
};
settings = mkOption {
settings = lib.mkOption {
type = settingsFormat.type;
default = {};
description = ''
@ -51,7 +49,7 @@ in
Although poorly documented, an example may be found here:
[test-config.toml](https://github.com/agersant/polaris/blob/374d0ca56fc0a466d797a4b252e2078607476797/test-data/config.toml)
'';
example = literalExpression ''
example = lib.literalExpression ''
{
settings.reindex_every_n_seconds = 7*24*60*60; # weekly, default is 1800
settings.album_art_pattern =
@ -70,8 +68,8 @@ in
'';
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open the configured port in the firewall.
@ -80,7 +78,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.polaris = {
description = "Polaris Music Server";
after = [ "network.target" ];
@ -93,13 +91,13 @@ in
SupplementaryGroups = cfg.extraGroups;
StateDirectory = "polaris";
CacheDirectory = "polaris";
ExecStart = escapeShellArgs ([
ExecStart = lib.escapeShellArgs ([
"${cfg.package}/bin/polaris"
"--foreground"
"--port" cfg.port
"--database" "/var/lib/${StateDirectory}/db.sqlite"
"--cache" "/var/cache/${CacheDirectory}"
] ++ optionals (cfg.settings != {}) [
] ++ lib.optionals (cfg.settings != {}) [
"--config" (settingsFormat.generate "polaris-config.toml" cfg.settings)
]);
Restart = "on-failure";
@ -141,11 +139,11 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
};
};
meta.maintainers = with maintainers; [ pbsds ];
meta.maintainers = with lib.maintainers; [ pbsds ];
}

View File

@ -1,25 +1,22 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.preload;
in {
meta = { maintainers = pkgs.preload.meta.maintainers; };
options.services.preload = {
enable = mkEnableOption "preload";
package = mkPackageOption pkgs "preload" { };
enable = lib.mkEnableOption "preload";
package = lib.mkPackageOption pkgs "preload" { };
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.preload = {
description = "Loads data into ram during idle time of CPU.";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
EnvironmentFile = "${cfg.package}/etc/conf.d/preload";
ExecStart = "${getExe cfg.package} -l '' --foreground $PRELOAD_OPTS";
ExecStart = "${lib.getExe cfg.package} -l '' --foreground $PRELOAD_OPTS";
Type = "simple";
# Only preload data during CPU idle time
IOSchedulingClass = 3;

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.prowlarr;
@ -9,19 +6,19 @@ in
{
options = {
services.prowlarr = {
enable = mkEnableOption "Prowlarr, an indexer manager/proxy for Torrent trackers and Usenet indexers";
enable = lib.mkEnableOption "Prowlarr, an indexer manager/proxy for Torrent trackers and Usenet indexers";
package = mkPackageOption pkgs "prowlarr" { };
package = lib.mkPackageOption pkgs "prowlarr" { };
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Open ports in the firewall for the Prowlarr web interface.";
};
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.prowlarr = {
description = "Prowlarr";
after = [ "network.target" ];
@ -37,7 +34,7 @@ in
environment.HOME = "/var/empty";
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 9696 ];
};
};

View File

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.pykms;
libDir = "/var/lib/pykms";
@ -10,56 +8,56 @@ in
meta.maintainers = with lib.maintainers; [ peterhoeg ];
imports = [
(mkRemovedOptionModule [ "services" "pykms" "verbose" ] "Use services.pykms.logLevel instead")
(lib.mkRemovedOptionModule [ "services" "pykms" "verbose" ] "Use services.pykms.logLevel instead")
];
options = {
services.pykms = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable the PyKMS service.";
};
listenAddress = mkOption {
type = types.str;
listenAddress = lib.mkOption {
type = lib.types.str;
default = "0.0.0.0";
description = "The IP address on which to listen.";
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 1688;
description = "The port on which to listen.";
};
openFirewallPort = mkOption {
type = types.bool;
openFirewallPort = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether the listening port should be opened automatically.";
};
memoryLimit = mkOption {
type = types.str;
memoryLimit = lib.mkOption {
type = lib.types.str;
default = "64M";
description = "How much memory to use at most.";
};
logLevel = mkOption {
type = types.enum [ "CRITICAL" "ERROR" "WARNING" "INFO" "DEBUG" "MININFO" ];
logLevel = lib.mkOption {
type = lib.types.enum [ "CRITICAL" "ERROR" "WARNING" "INFO" "DEBUG" "MININFO" ];
default = "INFO";
description = "How much to log";
};
extraArgs = mkOption {
type = types.listOf types.str;
extraArgs = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = "Additional arguments";
};
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewallPort [ cfg.port ];
systemd.services.pykms = {

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.radarr;
@ -9,37 +6,37 @@ in
{
options = {
services.radarr = {
enable = mkEnableOption "Radarr, a UsetNet/BitTorrent movie downloader";
enable = lib.mkEnableOption "Radarr, a UsetNet/BitTorrent movie downloader";
package = mkPackageOption pkgs "radarr" { };
package = lib.mkPackageOption pkgs "radarr" { };
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/radarr/.config/Radarr";
description = "The directory where Radarr stores its data files.";
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Open ports in the firewall for the Radarr web interface.";
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "radarr";
description = "User account under which Radarr runs.";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "radarr";
description = "Group under which Radarr runs.";
};
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.settings."10-radarr".${cfg.dataDir}.d = {
inherit (cfg) user group;
mode = "0700";
@ -59,11 +56,11 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 7878 ];
};
users.users = mkIf (cfg.user == "radarr") {
users.users = lib.mkIf (cfg.user == "radarr") {
radarr = {
group = cfg.group;
home = cfg.dataDir;
@ -71,7 +68,7 @@ in
};
};
users.groups = mkIf (cfg.group == "radarr") {
users.groups = lib.mkIf (cfg.group == "radarr") {
radarr.gid = config.ids.gids.radarr;
};
};

View File

@ -1,41 +1,38 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.readarr;
in
{
options = {
services.readarr = {
enable = mkEnableOption "Readarr, a Usenet/BitTorrent ebook downloader";
enable = lib.mkEnableOption "Readarr, a Usenet/BitTorrent ebook downloader";
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/readarr/";
description = "The directory where Readarr stores its data files.";
};
package = mkPackageOption pkgs "readarr" { };
package = lib.mkPackageOption pkgs "readarr" { };
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports in the firewall for Readarr
'';
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "readarr";
description = ''
User account under which Readarr runs.
'';
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "readarr";
description = ''
Group under which Readarr runs.
@ -44,7 +41,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.settings."10-readarr".${cfg.dataDir}.d = {
inherit (cfg) user group;
mode = "0700";
@ -64,11 +61,11 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 8787 ];
};
users.users = mkIf (cfg.user == "readarr") {
users.users = lib.mkIf (cfg.user == "readarr") {
readarr = {
description = "Readarr service";
home = cfg.dataDir;
@ -77,7 +74,7 @@ in
};
};
users.groups = mkIf (cfg.group == "readarr") {
users.groups = lib.mkIf (cfg.group == "readarr") {
readarr = { };
};
};

View File

@ -104,7 +104,6 @@ in
Group = "renovate";
DynamicUser = true;
LoadCredential = lib.mapAttrsToList (name: value: "SECRET-${name}:${value}") cfg.credentials;
Restart = "on-failure";
CacheDirectory = "renovate";
StateDirectory = "renovate";

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.rippleDataApi;
@ -23,8 +20,8 @@ let
db_config = builtins.toJSON {
production = {
username = optional (cfg.couchdb.pass != "") cfg.couchdb.user;
password = optional (cfg.couchdb.pass != "") cfg.couchdb.pass;
username = lib.optional (cfg.couchdb.pass != "") cfg.couchdb.user;
password = lib.optional (cfg.couchdb.pass != "") cfg.couchdb.pass;
host = cfg.couchdb.host;
port = cfg.couchdb.port;
database = cfg.couchdb.db;
@ -35,105 +32,105 @@ let
in {
options = {
services.rippleDataApi = {
enable = mkEnableOption "ripple data api";
enable = lib.mkEnableOption "ripple data api";
port = mkOption {
port = lib.mkOption {
description = "Ripple data api port";
default = 5993;
type = types.port;
type = lib.types.port;
};
importMode = mkOption {
importMode = lib.mkOption {
description = "Ripple data api import mode.";
default = "liveOnly";
type = types.enum ["live" "liveOnly"];
type = lib.types.enum ["live" "liveOnly"];
};
minLedger = mkOption {
minLedger = lib.mkOption {
description = "Ripple data api minimal ledger to fetch.";
default = null;
type = types.nullOr types.int;
type = lib.types.nullOr lib.types.int;
};
maxLedger = mkOption {
maxLedger = lib.mkOption {
description = "Ripple data api maximal ledger to fetch.";
default = null;
type = types.nullOr types.int;
type = lib.types.nullOr lib.types.int;
};
redis = {
enable = mkOption {
enable = lib.mkOption {
description = "Whether to enable caching of ripple data to redis.";
default = true;
type = types.bool;
type = lib.types.bool;
};
host = mkOption {
host = lib.mkOption {
description = "Ripple data api redis host.";
default = "localhost";
type = types.str;
type = lib.types.str;
};
port = mkOption {
port = lib.mkOption {
description = "Ripple data api redis port.";
default = 5984;
type = types.port;
type = lib.types.port;
};
};
couchdb = {
host = mkOption {
host = lib.mkOption {
description = "Ripple data api couchdb host.";
default = "localhost";
type = types.str;
type = lib.types.str;
};
port = mkOption {
port = lib.mkOption {
description = "Ripple data api couchdb port.";
default = 5984;
type = types.port;
type = lib.types.port;
};
db = mkOption {
db = lib.mkOption {
description = "Ripple data api couchdb database.";
default = "rippled";
type = types.str;
type = lib.types.str;
};
user = mkOption {
user = lib.mkOption {
description = "Ripple data api couchdb username.";
default = "rippled";
type = types.str;
type = lib.types.str;
};
pass = mkOption {
pass = lib.mkOption {
description = "Ripple data api couchdb password.";
default = "";
type = types.str;
type = lib.types.str;
};
create = mkOption {
create = lib.mkOption {
description = "Whether to create couchdb database needed by ripple data api.";
type = types.bool;
type = lib.types.bool;
default = true;
};
};
rippleds = mkOption {
rippleds = lib.mkOption {
description = "List of rippleds to be used by ripple data api.";
default = [
"http://s_east.ripple.com:51234"
"http://s_west.ripple.com:51234"
];
type = types.listOf types.str;
type = lib.types.listOf lib.types.str;
};
};
};
config = mkIf (cfg.enable) {
services.couchdb.enable = mkDefault true;
services.couchdb.bindAddress = mkDefault "0.0.0.0";
services.redis.enable = mkDefault true;
config = lib.mkIf (cfg.enable) {
services.couchdb.enable = lib.mkDefault true;
services.couchdb.bindAddress = lib.mkDefault "0.0.0.0";
services.redis.enable = lib.mkDefault true;
systemd.services.ripple-data-api = {
after = [ "couchdb.service" "redis.service" "ripple-data-api-importer.service" ];
@ -176,9 +173,9 @@ in {
User = "ripple-data-api";
};
preStart = mkMerge [
(mkIf (cfg.couchdb.create) ''
HOST="http://${optionalString (cfg.couchdb.pass != "") "${cfg.couchdb.user}:${cfg.couchdb.pass}@"}${cfg.couchdb.host}:${toString cfg.couchdb.port}"
preStart = lib.mkMerge [
(lib.mkIf (cfg.couchdb.create) ''
HOST="http://${lib.optionalString (cfg.couchdb.pass != "") "${cfg.couchdb.user}:${cfg.couchdb.pass}@"}${cfg.couchdb.host}:${toString cfg.couchdb.port}"
curl -X PUT $HOST/${cfg.couchdb.db} || true
'')
"${pkgs.ripple-data-api}/bin/update-views"

View File

@ -1,6 +1,4 @@
{ options, config, pkgs, lib, ... }:
with lib;
let
opt = options.services.rkvm;
cfg = config.services.rkvm;
@ -10,35 +8,35 @@ in
meta.maintainers = [ ];
options.services.rkvm = {
enable = mkOption {
enable = lib.mkOption {
default = cfg.server.enable || cfg.client.enable;
defaultText = literalExpression "config.${opt.server.enable} || config.${opt.client.enable}";
type = types.bool;
defaultText = lib.literalExpression "config.${opt.server.enable} || config.${opt.client.enable}";
type = lib.types.bool;
description = ''
Whether to enable rkvm, a Virtual KVM switch for Linux machines.
'';
};
package = mkPackageOption pkgs "rkvm" { };
package = lib.mkPackageOption pkgs "rkvm" { };
server = {
enable = mkEnableOption "the rkvm server daemon (input transmitter)";
enable = lib.mkEnableOption "the rkvm server daemon (input transmitter)";
settings = mkOption {
type = types.submodule
settings = lib.mkOption {
type = lib.types.submodule
{
freeformType = toml.type;
options = {
listen = mkOption {
type = types.str;
listen = lib.mkOption {
type = lib.types.str;
default = "0.0.0.0:5258";
description = ''
An internet socket address to listen on, either IPv4 or IPv6.
'';
};
switch-keys = mkOption {
type = types.listOf types.str;
switch-keys = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ "left-alt" "left-ctrl" ];
description = ''
A key list specifying a host switch combination.
@ -47,8 +45,8 @@ in
'';
};
certificate = mkOption {
type = types.path;
certificate = lib.mkOption {
type = lib.types.path;
default = "/etc/rkvm/certificate.pem";
description = ''
TLS certificate path.
@ -59,8 +57,8 @@ in
'';
};
key = mkOption {
type = types.path;
key = lib.mkOption {
type = lib.types.path;
default = "/etc/rkvm/key.pem";
description = ''
TLS key path.
@ -71,8 +69,8 @@ in
'';
};
password = mkOption {
type = types.str;
password = lib.mkOption {
type = lib.types.str;
description = ''
Shared secret token to authenticate the client.
Make sure this matches your client's config.
@ -87,23 +85,23 @@ in
};
client = {
enable = mkEnableOption "the rkvm client daemon (input receiver)";
enable = lib.mkEnableOption "the rkvm client daemon (input receiver)";
settings = mkOption {
type = types.submodule
settings = lib.mkOption {
type = lib.types.submodule
{
freeformType = toml.type;
options = {
server = mkOption {
type = types.str;
server = lib.mkOption {
type = lib.types.str;
example = "192.168.0.123:5258";
description = ''
An RKVM server's internet socket address, either IPv4 or IPv6.
'';
};
certificate = mkOption {
type = types.path;
certificate = lib.mkOption {
type = lib.types.path;
default = "/etc/rkvm/certificate.pem";
description = ''
TLS ceritficate path.
@ -114,8 +112,8 @@ in
'';
};
password = mkOption {
type = types.str;
password = lib.mkOption {
type = lib.types.str;
description = ''
Shared secret token to authenticate the client.
Make sure this matches your server's config.
@ -131,7 +129,7 @@ in
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.services =
@ -156,8 +154,8 @@ in
};
in
{
rkvm-server = mkIf cfg.server.enable (mkBase "server");
rkvm-client = mkIf cfg.client.enable (mkBase "client");
rkvm-server = lib.mkIf cfg.server.enable (mkBase "server");
rkvm-client = lib.mkIf cfg.client.enable (mkBase "client");
};
};

View File

@ -4,9 +4,6 @@
pkgs,
...
}:
with lib;
let
cfg = config.services.rmfakecloud;
serviceDataDir = "/var/lib/rmfakecloud";
@ -15,28 +12,28 @@ in
{
options = {
services.rmfakecloud = {
enable = mkEnableOption "rmfakecloud remarkable self-hosted cloud";
enable = lib.mkEnableOption "rmfakecloud remarkable self-hosted cloud";
package = mkPackageOption pkgs "rmfakecloud" { };
package = lib.mkPackageOption pkgs "rmfakecloud" { };
storageUrl = mkOption {
type = types.str;
storageUrl = lib.mkOption {
type = lib.types.str;
example = "https://local.appspot.com";
description = ''
URL used by the tablet to access the rmfakecloud service.
'';
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 3000;
description = ''
Listening port number.
'';
};
logLevel = mkOption {
type = types.enum [
logLevel = lib.mkOption {
type = lib.types.enum [
"info"
"debug"
"warn"
@ -48,8 +45,8 @@ in
'';
};
extraSettings = mkOption {
type = with types; attrsOf str;
extraSettings = lib.mkOption {
type = with lib.types; attrsOf str;
default = { };
example = {
DATADIR = "/custom/path/for/rmfakecloud/data";
@ -63,8 +60,8 @@ in
'';
};
environmentFile = mkOption {
type = with types; nullOr path;
environmentFile = lib.mkOption {
type = with lib.types; nullOr path;
default = null;
example = "/etc/secrets/rmfakecloud.env";
description = ''
@ -78,7 +75,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.rmfakecloud = {
description = "rmfakecloud remarkable self-hosted cloud";
@ -113,9 +110,9 @@ in
Type = "simple";
Restart = "always";
EnvironmentFile = mkIf (cfg.environmentFile != null) cfg.environmentFile;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
AmbientCapabilities = mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
AmbientCapabilities = lib.mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
DynamicUser = true;
PrivateDevices = true;
@ -148,5 +145,5 @@ in
};
};
meta.maintainers = with maintainers; [ pacien ];
meta.maintainers = with lib.maintainers; [ pacien ];
}

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.safeeyes;
@ -16,7 +13,7 @@ in
services.safeeyes = {
enable = mkEnableOption "the safeeyes OSGi service";
enable = lib.mkEnableOption "the safeeyes OSGi service";
};
@ -24,7 +21,7 @@ in
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.safeeyes ];

View File

@ -1,8 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
{
options.services.sdrplayApi = {
enable = mkOption {
enable = lib.mkOption {
default = false;
example = true;
description = ''
@ -17,7 +16,7 @@ with lib;
};
};
config = mkIf config.services.sdrplayApi.enable {
config = lib.mkIf config.services.sdrplayApi.enable {
systemd.services.sdrplayApi = {
description = "SDRplay API Service";
after = [ "network.target" ];

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.serviio;
@ -28,16 +25,16 @@ in {
options = {
services.serviio = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable the Serviio Media Server.
'';
};
dataDir = mkOption {
type = types.path;
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/serviio";
description = ''
The directory where serviio stores its state, data, etc.
@ -49,7 +46,7 @@ in {
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.serviio = {
description = "Serviio Media Server";
after = [ "network.target" ];

View File

@ -1,7 +1,4 @@
{ config, lib, options, pkgs, ... }:
with lib;
let
name = "sickbeard";
@ -17,41 +14,41 @@ in
options = {
services.sickbeard = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable the sickbeard server.";
};
package = mkPackageOption pkgs "sickbeard" {
package = lib.mkPackageOption pkgs "sickbeard" {
example = "sickrage";
extraDescription = ''
Enable `pkgs.sickrage` or `pkgs.sickgear`
as an alternative to SickBeard
'';
};
dataDir = mkOption {
type = types.path;
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/${name}";
description = "Path where to store data files.";
};
configFile = mkOption {
type = types.path;
configFile = lib.mkOption {
type = lib.types.path;
default = "${cfg.dataDir}/config.ini";
defaultText = literalExpression ''"''${config.${opt.dataDir}}/config.ini"'';
defaultText = lib.literalExpression ''"''${config.${opt.dataDir}}/config.ini"'';
description = "Path to config file.";
};
port = mkOption {
type = types.ints.u16;
port = lib.mkOption {
type = lib.types.ints.u16;
default = 8081;
description = "Port to bind to.";
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = name;
description = "User to run the service as";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = name;
description = "Group to run the service as";
};
@ -61,9 +58,9 @@ in
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users = optionalAttrs (cfg.user == name) {
users.users = lib.optionalAttrs (cfg.user == name) {
${name} = {
uid = config.ids.uids.sickbeard;
group = cfg.group;
@ -73,7 +70,7 @@ in
};
};
users.groups = optionalAttrs (cfg.group == name) {
users.groups = lib.optionalAttrs (cfg.group == name) {
${name}.gid = config.ids.gids.sickbeard;
};

View File

@ -1,6 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.signald;
dataDir = "/var/lib/signald";
@ -8,36 +6,36 @@ let
in
{
options.services.signald = {
enable = mkEnableOption "signald, the unofficial daemon for interacting with Signal";
enable = lib.mkEnableOption "signald, the unofficial daemon for interacting with Signal";
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = defaultUser;
description = "User under which signald runs.";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = defaultUser;
description = "Group under which signald runs.";
};
socketPath = mkOption {
type = types.str;
socketPath = lib.mkOption {
type = lib.types.str;
default = "/run/signald/signald.sock";
description = "Path to the signald socket";
};
};
config = mkIf cfg.enable {
users.users = optionalAttrs (cfg.user == defaultUser) {
config = lib.mkIf cfg.enable {
users.users = lib.optionalAttrs (cfg.user == defaultUser) {
${defaultUser} = {
group = cfg.group;
isSystemUser = true;
};
};
users.groups = optionalAttrs (cfg.group == defaultUser) {
users.groups = lib.optionalAttrs (cfg.group == defaultUser) {
${defaultUser} = { };
};

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.siproxd;
@ -17,10 +14,10 @@ let
rtp_port_high = ${toString cfg.rtpPortHigh}
rtp_dscp = ${toString cfg.rtpDscp}
sip_dscp = ${toString cfg.sipDscp}
${optionalString (cfg.hostsAllowReg != []) "hosts_allow_reg = ${concatStringsSep "," cfg.hostsAllowReg}"}
${optionalString (cfg.hostsAllowSip != []) "hosts_allow_sip = ${concatStringsSep "," cfg.hostsAllowSip}"}
${optionalString (cfg.hostsDenySip != []) "hosts_deny_sip = ${concatStringsSep "," cfg.hostsDenySip}"}
${optionalString (cfg.passwordFile != "") "proxy_auth_pwfile = ${cfg.passwordFile}"}
${lib.optionalString (cfg.hostsAllowReg != []) "hosts_allow_reg = ${lib.concatStringsSep "," cfg.hostsAllowReg}"}
${lib.optionalString (cfg.hostsAllowSip != []) "hosts_allow_sip = ${lib.concatStringsSep "," cfg.hostsAllowSip}"}
${lib.optionalString (cfg.hostsDenySip != []) "hosts_deny_sip = ${lib.concatStringsSep "," cfg.hostsDenySip}"}
${lib.optionalString (cfg.passwordFile != "") "proxy_auth_pwfile = ${cfg.passwordFile}"}
${cfg.extraConfig}
'';
@ -34,8 +31,8 @@ in
services.siproxd = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable the Siproxd SIP
@ -43,20 +40,20 @@ in
'';
};
ifInbound = mkOption {
type = types.str;
ifInbound = lib.mkOption {
type = lib.types.str;
example = "eth0";
description = "Local network interface";
};
ifOutbound = mkOption {
type = types.str;
ifOutbound = lib.mkOption {
type = lib.types.str;
example = "ppp0";
description = "Public network interface";
};
hostsAllowReg = mkOption {
type = types.listOf types.str;
hostsAllowReg = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
example = [ "192.168.1.0/24" "192.168.2.0/24" ];
description = ''
@ -64,8 +61,8 @@ in
'';
};
hostsAllowSip = mkOption {
type = types.listOf types.str;
hostsAllowSip = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
example = [ "123.45.0.0/16" "123.46.0.0/16" ];
description = ''
@ -73,8 +70,8 @@ in
'';
};
hostsDenySip = mkOption {
type = types.listOf types.str;
hostsDenySip = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
example = [ "10.0.0.0/8" "11.0.0.0/8" ];
description = ''
@ -83,32 +80,32 @@ in
'';
};
sipListenPort = mkOption {
type = types.int;
sipListenPort = lib.mkOption {
type = lib.types.int;
default = 5060;
description = ''
Port to listen for incoming SIP messages.
'';
};
rtpPortLow = mkOption {
type = types.int;
rtpPortLow = lib.mkOption {
type = lib.types.int;
default = 7070;
description = ''
Bottom of UDP port range for incoming and outgoing RTP traffic
'';
};
rtpPortHigh = mkOption {
type = types.int;
rtpPortHigh = lib.mkOption {
type = lib.types.int;
default = 7089;
description = ''
Top of UDP port range for incoming and outgoing RTP traffic
'';
};
rtpTimeout = mkOption {
type = types.int;
rtpTimeout = lib.mkOption {
type = lib.types.int;
default = 300;
description = ''
Timeout for an RTP stream. If for the specified
@ -117,8 +114,8 @@ in
'';
};
rtpDscp = mkOption {
type = types.int;
rtpDscp = lib.mkOption {
type = lib.types.int;
default = 46;
description = ''
DSCP (differentiated services) value to be assigned
@ -127,8 +124,8 @@ in
'';
};
sipDscp = mkOption {
type = types.int;
sipDscp = lib.mkOption {
type = lib.types.int;
default = 0;
description = ''
DSCP (differentiated services) value to be assigned
@ -137,16 +134,16 @@ in
'';
};
passwordFile = mkOption {
type = types.str;
passwordFile = lib.mkOption {
type = lib.types.str;
default = "";
description = ''
Path to per-user password file.
'';
};
extraConfig = mkOption {
type = types.lines;
extraConfig = lib.mkOption {
type = lib.types.lines;
default = "";
description = ''
Extra configuration to add to siproxd configuration.
@ -159,7 +156,7 @@ in
##### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users.siproxyd = {
uid = config.ids.uids.siproxd;

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.soft-serve;
configFile = format.generate "config.yaml" cfg.settings;
@ -12,11 +9,11 @@ in
{
options = {
services.soft-serve = {
enable = mkEnableOption "soft-serve";
enable = lib.mkEnableOption "soft-serve";
package = mkPackageOption pkgs "soft-serve" { };
package = lib.mkPackageOption pkgs "soft-serve" { };
settings = mkOption {
settings = lib.mkOption {
type = format.type;
default = { };
description = ''
@ -24,7 +21,7 @@ in
See <${docUrl}>.
'';
example = literalExpression ''
example = lib.literalExpression ''
{
name = "dadada's repos";
log_format = "text";
@ -41,7 +38,7 @@ in
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
# The config file has to be inside the state dir
@ -61,7 +58,7 @@ in
Type = "simple";
DynamicUser = true;
Restart = "always";
ExecStart = "${getExe cfg.package} serve";
ExecStart = "${lib.getExe cfg.package} serve";
StateDirectory = "soft-serve";
WorkingDirectory = stateDir;
RuntimeDirectory = "soft-serve";
@ -95,5 +92,5 @@ in
};
};
meta.maintainers = [ maintainers.dadada ];
meta.maintainers = [ lib.maintainers.dadada ];
}

View File

@ -1,46 +1,43 @@
{ config, pkgs, lib, utils, ... }:
with lib;
let
cfg = config.services.sonarr;
in
{
options = {
services.sonarr = {
enable = mkEnableOption "Sonarr";
enable = lib.mkEnableOption "Sonarr";
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/sonarr/.config/NzbDrone";
description = "The directory where Sonarr stores its data files.";
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Open ports in the firewall for the Sonarr web interface
'';
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "sonarr";
description = "User account under which Sonaar runs.";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "sonarr";
description = "Group under which Sonaar runs.";
};
package = mkPackageOption pkgs "sonarr" { };
package = lib.mkPackageOption pkgs "sonarr" { };
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0700 ${cfg.user} ${cfg.group} - -"
];
@ -63,11 +60,11 @@ in
};
};
networking.firewall = mkIf cfg.openFirewall {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 8989 ];
};
users.users = mkIf (cfg.user == "sonarr") {
users.users = lib.mkIf (cfg.user == "sonarr") {
sonarr = {
group = cfg.group;
home = cfg.dataDir;
@ -75,7 +72,7 @@ in
};
};
users.groups = mkIf (cfg.group == "sonarr") {
users.groups = lib.mkIf (cfg.group == "sonarr") {
sonarr.gid = config.ids.gids.sonarr;
};
};

View File

@ -1,17 +1,15 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.spice-vdagentd;
in
{
options = {
services.spice-vdagentd = {
enable = mkEnableOption "Spice guest vdagent daemon";
enable = lib.mkEnableOption "Spice guest vdagent daemon";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.spice-vdagent ];

View File

@ -1,19 +1,17 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.spice-webdavd;
in
{
options = {
services.spice-webdavd = {
enable = mkEnableOption "the spice guest webdav proxy daemon";
enable = lib.mkEnableOption "the spice guest webdav proxy daemon";
package = mkPackageOption pkgs "phodav" { };
package = lib.mkPackageOption pkgs "phodav" { };
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
# ensure the webdav fs this exposes can actually be mounted
services.davfs2.enable = true;

View File

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.sssd;
nscd = config.services.nscd;
@ -10,10 +9,10 @@ let
in {
options = {
services.sssd = {
enable = mkEnableOption "the System Security Services Daemon";
enable = lib.mkEnableOption "the System Security Services Daemon";
config = mkOption {
type = types.lines;
config = lib.mkOption {
type = lib.types.lines;
description = "Contents of {file}`sssd.conf`.";
default = ''
[sssd]
@ -34,8 +33,8 @@ in {
'';
};
sshAuthorizedKeysIntegration = mkOption {
type = types.bool;
sshAuthorizedKeysIntegration = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to make sshd look up authorized keys from SSS.
@ -43,16 +42,16 @@ in {
'';
};
kcm = mkOption {
type = types.bool;
kcm = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to use SSS as a Kerberos Cache Manager (KCM).
Kerberos will be configured to cache credentials in SSS.
'';
};
environmentFile = mkOption {
type = types.nullOr types.path;
environmentFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = ''
Environment file as defined in {manpage}`systemd.exec(5)`.
@ -75,8 +74,8 @@ in {
};
};
};
config = mkMerge [
(mkIf cfg.enable {
config = lib.mkMerge [
(lib.mkIf cfg.enable {
# For `sssctl` to work.
environment.etc."sssd/sssd.conf".source = settingsFile;
environment.etc."sssd/conf.d".source = "${dataDir}/conf.d";
@ -126,7 +125,7 @@ in {
services.dbus.packages = [ pkgs.sssd ];
})
(mkIf cfg.kcm {
(lib.mkIf cfg.kcm {
systemd.services.sssd-kcm = {
description = "SSSD Kerberos Cache Manager";
requires = [ "sssd-kcm.socket" ];
@ -148,7 +147,7 @@ in {
security.krb5.settings.libdefaults.default_ccache_name = "KCM:";
})
(mkIf cfg.sshAuthorizedKeysIntegration {
(lib.mkIf cfg.sshAuthorizedKeysIntegration {
# Ugly: sshd refuses to start if a store path is given because /nix/store is group-writable.
# So indirect by a symlink.
environment.etc."ssh/authorized_keys_command" = {
@ -162,5 +161,5 @@ in {
services.openssh.authorizedKeysCommandUser = "nobody";
})];
meta.maintainers = with maintainers; [ bbigras ];
meta.maintainers = with lib.maintainers; [ bbigras ];
}

View File

@ -1,17 +1,14 @@
{ config, lib, options, pkgs, ... }:
with lib;
let
cfg = config.services.subsonic;
opt = options.services.subsonic;
in {
options = {
services.subsonic = {
enable = mkEnableOption "Subsonic daemon";
enable = lib.mkEnableOption "Subsonic daemon";
home = mkOption {
type = types.path;
home = lib.mkOption {
type = lib.types.path;
default = "/var/lib/subsonic";
description = ''
The directory where Subsonic will create files.
@ -19,8 +16,8 @@ in {
'';
};
listenAddress = mkOption {
type = types.str;
listenAddress = lib.mkOption {
type = lib.types.str;
default = "0.0.0.0";
description = ''
The host name or IP address on which to bind Subsonic.
@ -30,8 +27,8 @@ in {
'';
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 4040;
description = ''
The port on which Subsonic will listen for
@ -39,8 +36,8 @@ in {
'';
};
httpsPort = mkOption {
type = types.port;
httpsPort = lib.mkOption {
type = lib.types.port;
default = 0;
description = ''
The port on which Subsonic will listen for
@ -48,8 +45,8 @@ in {
'';
};
contextPath = mkOption {
type = types.path;
contextPath = lib.mkOption {
type = lib.types.path;
default = "/";
description = ''
The context path, i.e., the last part of the Subsonic
@ -57,8 +54,8 @@ in {
'';
};
maxMemory = mkOption {
type = types.int;
maxMemory = lib.mkOption {
type = lib.types.int;
default = 100;
description = ''
The memory limit (max Java heap size) in megabytes.
@ -66,8 +63,8 @@ in {
'';
};
defaultMusicFolder = mkOption {
type = types.path;
defaultMusicFolder = lib.mkOption {
type = lib.types.path;
default = "/var/music";
description = ''
Configure Subsonic to use this folder for music. This option
@ -75,8 +72,8 @@ in {
'';
};
defaultPodcastFolder = mkOption {
type = types.path;
defaultPodcastFolder = lib.mkOption {
type = lib.types.path;
default = "/var/music/Podcast";
description = ''
Configure Subsonic to use this folder for Podcasts. This option
@ -84,8 +81,8 @@ in {
'';
};
defaultPlaylistFolder = mkOption {
type = types.path;
defaultPlaylistFolder = lib.mkOption {
type = lib.types.path;
default = "/var/playlists";
description = ''
Configure Subsonic to use this folder for playlists. This option
@ -93,10 +90,10 @@ in {
'';
};
transcoders = mkOption {
type = types.listOf types.path;
transcoders = lib.mkOption {
type = lib.types.listOf lib.types.path;
default = [ "${pkgs.ffmpeg.bin}/bin/ffmpeg" ];
defaultText = literalExpression ''[ "''${pkgs.ffmpeg.bin}/bin/ffmpeg" ]'';
defaultText = lib.literalExpression ''[ "''${pkgs.ffmpeg.bin}/bin/ffmpeg" ]'';
description = ''
List of paths to transcoder executables that should be accessible
from Subsonic. Symlinks will be created to each executable inside
@ -106,7 +103,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.subsonic = {
description = "Personal media streamer";
after = [ "network.target" ];

View File

@ -1,17 +1,14 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.sundtek;
in
{
options.services.sundtek = {
enable = mkEnableOption "Sundtek driver";
enable = lib.mkEnableOption "Sundtek driver";
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.sundtek ];

View File

@ -1,8 +1,5 @@
# SVN server
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.svnserve;
@ -17,14 +14,14 @@ in
services.svnserve = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable svnserve to serve Subversion repositories through the SVN protocol.";
};
svnBaseDir = mkOption {
type = types.str;
svnBaseDir = lib.mkOption {
type = lib.types.str;
default = "/repos";
description = "Base directory from which Subversion repositories are accessed.";
};
@ -35,7 +32,7 @@ in
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.svnserve = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfgC = config.services.synergy.client;
@ -19,60 +16,60 @@ in
# !!! All these option descriptions needs to be cleaned up.
client = {
enable = mkEnableOption "the Synergy client (receive keyboard and mouse events from a Synergy server)";
enable = lib.mkEnableOption "the Synergy client (receive keyboard and mouse events from a Synergy server)";
screenName = mkOption {
screenName = lib.mkOption {
default = "";
type = types.str;
type = lib.types.str;
description = ''
Use the given name instead of the hostname to identify
ourselves to the server.
'';
};
serverAddress = mkOption {
type = types.str;
serverAddress = lib.mkOption {
type = lib.types.str;
description = ''
The server address is of the form: [hostname][:port]. The
hostname must be the address or hostname of the server. The
port overrides the default port, 24800.
'';
};
autoStart = mkOption {
autoStart = lib.mkOption {
default = true;
type = types.bool;
type = lib.types.bool;
description = "Whether the Synergy client should be started automatically.";
};
};
server = {
enable = mkEnableOption "the Synergy server (send keyboard and mouse events)";
enable = lib.mkEnableOption "the Synergy server (send keyboard and mouse events)";
configFile = mkOption {
type = types.path;
configFile = lib.mkOption {
type = lib.types.path;
default = "/etc/synergy-server.conf";
description = "The Synergy server configuration file.";
};
screenName = mkOption {
type = types.str;
screenName = lib.mkOption {
type = lib.types.str;
default = "";
description = ''
Use the given name instead of the hostname to identify
this screen in the configuration.
'';
};
address = mkOption {
type = types.str;
address = lib.mkOption {
type = lib.types.str;
default = "";
description = "Address on which to listen for clients.";
};
autoStart = mkOption {
autoStart = lib.mkOption {
default = true;
type = types.bool;
type = lib.types.bool;
description = "Whether the Synergy server should be started automatically.";
};
tls = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether TLS encryption should be used.
@ -83,8 +80,8 @@ in
'';
};
cert = mkOption {
type = types.nullOr types.str;
cert = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
example = "~/.synergy/SSL/Synergy.pem";
description = "The TLS certificate to use for encryption.";
@ -98,24 +95,24 @@ in
###### implementation
config = mkMerge [
(mkIf cfgC.enable {
config = lib.mkMerge [
(lib.mkIf cfgC.enable {
systemd.user.services.synergy-client = {
after = [ "network.target" "graphical-session.target" ];
description = "Synergy client";
wantedBy = optional cfgC.autoStart "graphical-session.target";
wantedBy = lib.optional cfgC.autoStart "graphical-session.target";
path = [ pkgs.synergy ];
serviceConfig.ExecStart = ''${pkgs.synergy}/bin/synergyc -f ${optionalString (cfgC.screenName != "") "-n ${cfgC.screenName}"} ${cfgC.serverAddress}'';
serviceConfig.ExecStart = ''${pkgs.synergy}/bin/synergyc -f ${lib.optionalString (cfgC.screenName != "") "-n ${cfgC.screenName}"} ${cfgC.serverAddress}'';
serviceConfig.Restart = "on-failure";
};
})
(mkIf cfgS.enable {
(lib.mkIf cfgS.enable {
systemd.user.services.synergy-server = {
after = [ "network.target" "graphical-session.target" ];
description = "Synergy server";
wantedBy = optional cfgS.autoStart "graphical-session.target";
wantedBy = lib.optional cfgS.autoStart "graphical-session.target";
path = [ pkgs.synergy ];
serviceConfig.ExecStart = ''${pkgs.synergy}/bin/synergys -c ${cfgS.configFile} -f${optionalString (cfgS.address != "") " -a ${cfgS.address}"}${optionalString (cfgS.screenName != "") " -n ${cfgS.screenName}"}${optionalString cfgS.tls.enable " --enable-crypto"}${optionalString (cfgS.tls.cert != null) (" --tls-cert ${cfgS.tls.cert}")}'';
serviceConfig.ExecStart = ''${pkgs.synergy}/bin/synergys -c ${cfgS.configFile} -f${lib.optionalString (cfgS.address != "") " -a ${cfgS.address}"}${lib.optionalString (cfgS.screenName != "") " -n ${cfgS.screenName}"}${lib.optionalString cfgS.tls.enable " --enable-crypto"}${lib.optionalString (cfgS.tls.cert != null) (" --tls-cert ${cfgS.tls.cert}")}'';
serviceConfig.Restart = "on-failure";
};
})

View File

@ -1,6 +1,4 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.tandoor-recipes;
pkg = cfg.package;
@ -11,7 +9,7 @@ let
DEBUG = "0";
DEBUG_TOOLBAR = "0";
MEDIA_ROOT = "/var/lib/tandoor-recipes";
} // optionalAttrs (config.time.timeZone != null) {
} // lib.optionalAttrs (config.time.timeZone != null) {
TZ = config.time.timeZone;
} // (
lib.mapAttrs (_: toString) cfg.extraConfig
@ -27,10 +25,10 @@ let
'';
in
{
meta.maintainers = with maintainers; [ ambroisie ];
meta.maintainers = with lib.maintainers; [ ambroisie ];
options.services.tandoor-recipes = {
enable = mkOption {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
@ -45,20 +43,20 @@ in
'';
};
address = mkOption {
type = types.str;
address = lib.mkOption {
type = lib.types.str;
default = "localhost";
description = "Web interface address.";
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 8080;
description = "Web interface port.";
};
extraConfig = mkOption {
type = types.attrs;
extraConfig = lib.mkOption {
type = lib.types.attrs;
default = { };
description = ''
Extra tandoor recipes config options.
@ -71,10 +69,10 @@ in
};
};
package = mkPackageOption pkgs "tandoor-recipes" { };
package = lib.mkPackageOption pkgs "tandoor-recipes" { };
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.tandoor-recipes = {
description = "Tandoor Recipes server";

View File

@ -1,60 +1,57 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.tautulli;
in
{
imports = [
(mkRenamedOptionModule [ "services" "plexpy" ] [ "services" "tautulli" ])
(lib.mkRenamedOptionModule [ "services" "plexpy" ] [ "services" "tautulli" ])
];
options = {
services.tautulli = {
enable = mkEnableOption "Tautulli Plex Monitor";
enable = lib.mkEnableOption "Tautulli Plex Monitor";
dataDir = mkOption {
type = types.str;
dataDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/plexpy";
description = "The directory where Tautulli stores its data files.";
};
configFile = mkOption {
type = types.str;
configFile = lib.mkOption {
type = lib.types.str;
default = "/var/lib/plexpy/config.ini";
description = "The location of Tautulli's config file.";
};
port = mkOption {
type = types.port;
port = lib.mkOption {
type = lib.types.port;
default = 8181;
description = "TCP port where Tautulli listens.";
};
openFirewall = mkOption {
type = types.bool;
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Open ports in the firewall for Tautulli.";
};
user = mkOption {
type = types.str;
user = lib.mkOption {
type = lib.types.str;
default = "plexpy";
description = "User account under which Tautulli runs.";
};
group = mkOption {
type = types.str;
group = lib.mkOption {
type = lib.types.str;
default = "nogroup";
description = "Group under which Tautulli runs.";
};
package = mkPackageOption pkgs "tautulli" { };
package = lib.mkPackageOption pkgs "tautulli" { };
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' - ${cfg.user} ${cfg.group} - -"
];
@ -73,9 +70,9 @@ in
};
};
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ];
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ cfg.port ];
users.users = mkIf (cfg.user == "plexpy") {
users.users = lib.mkIf (cfg.user == "plexpy") {
plexpy = { group = cfg.group; uid = config.ids.uids.plexpy; };
};
};

View File

@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.tiddlywiki;
listenParams = concatStrings (mapAttrsToList (n: v: " '${n}=${toString v}' ") cfg.listenOptions);
listenParams = lib.concatStrings (lib.mapAttrsToList (n: v: " '${n}=${toString v}' ") cfg.listenOptions);
exe = "${pkgs.nodePackages.tiddlywiki}/lib/node_modules/.bin/tiddlywiki";
name = "tiddlywiki";
dataDir = "/var/lib/" + name;
@ -14,10 +11,10 @@ in {
options.services.tiddlywiki = {
enable = mkEnableOption "TiddlyWiki nodejs server";
enable = lib.mkEnableOption "TiddlyWiki nodejs server";
listenOptions = mkOption {
type = types.attrs;
listenOptions = lib.mkOption {
type = lib.types.attrs;
default = {};
example = {
credentials = "../credentials.csv";
@ -32,7 +29,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd = {
services.tiddlywiki = {
description = "TiddlyWiki nodejs server";

View File

@ -1,28 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.services.tp-auto-kbbl;
in {
meta.maintainers = with maintainers; [ sebtm ];
meta.maintainers = with lib.maintainers; [ sebtm ];
options = {
services.tp-auto-kbbl = {
enable = mkEnableOption "auto toggle keyboard back-lighting on Thinkpads (and maybe other laptops) for Linux";
enable = lib.mkEnableOption "auto toggle keyboard back-lighting on Thinkpads (and maybe other laptops) for Linux";
package = mkPackageOption pkgs "tp-auto-kbbl" { };
package = lib.mkPackageOption pkgs "tp-auto-kbbl" { };
arguments = mkOption {
type = types.listOf types.str;
arguments = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = ''
List of arguments appended to `./tp-auto-kbbl --device [device] [arguments]`
'';
};
device = mkOption {
type = types.str;
device = lib.mkOption {
type = lib.types.str;
default = "/dev/input/event0";
description = "Device watched for activities.";
};
@ -30,12 +27,12 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.services.tp-auto-kbbl = {
serviceConfig = {
ExecStart = concatStringsSep " "
ExecStart = lib.concatStringsSep " "
([ "${cfg.package}/bin/tp-auto-kbbl" "--device ${cfg.device}" ] ++ cfg.arguments);
Restart = "always";
Type = "simple";

View File

@ -1,23 +1,20 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.tuxclocker;
in
{
options.programs.tuxclocker = {
enable = mkEnableOption ''
enable = lib.mkEnableOption ''
TuxClocker, a hardware control and monitoring program
'';
enableAMD = mkEnableOption ''
enableAMD = lib.mkEnableOption ''
AMD GPU controls.
Sets the `amdgpu.ppfeaturemask` kernel parameter to 0xfffd7fff to enable all TuxClocker controls
'';
enabledNVIDIADevices = mkOption {
type = types.listOf types.int;
enabledNVIDIADevices = lib.mkOption {
type = lib.types.listOf lib.types.int;
default = [ ];
example = [ 0 1 ];
description = ''
@ -26,8 +23,8 @@ in
'';
};
useUnfree = mkOption {
type = types.bool;
useUnfree = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = ''
@ -40,7 +37,7 @@ in
config = let
package = if cfg.useUnfree then pkgs.tuxclocker else pkgs.tuxclocker-without-unfree;
in
mkIf cfg.enable {
lib.mkIf cfg.enable {
environment.systemPackages = [
package
];
@ -62,10 +59,10 @@ in
EndSection
'');
in
concatStrings (map configSection cfg.enabledNVIDIADevices);
lib.concatStrings (map configSection cfg.enabledNVIDIADevices);
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/amd_shared.h#n207
# Enable everything modifiable in TuxClocker
boot.kernelParams = mkIf cfg.enableAMD [ "amdgpu.ppfeaturemask=0xfffd7fff" ];
boot.kernelParams = lib.mkIf cfg.enableAMD [ "amdgpu.ppfeaturemask=0xfffd7fff" ];
};
}

View File

@ -1,13 +1,10 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.tzupdate;
in {
options.services.tzupdate = {
enable = mkOption {
type = types.bool;
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the tzupdate timezone updating service. This provides
@ -17,7 +14,7 @@ in {
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
# We need to have imperative time zone management for this to work.
# This will give users an error if they have set an explicit time
# zone, which is better than silently overriding it.

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
settingsFormat = {
type = with lib.types; attrsOf (oneOf [ bool int str ]);
@ -13,21 +10,21 @@ let
in {
options = {
services.uhub = mkOption {
services.uhub = lib.mkOption {
default = { };
description = "Uhub ADC hub instances";
type = types.attrsOf (types.submodule {
type = lib.types.attrsOf (lib.types.submodule {
options = {
enable = mkEnableOption "hub instance" // { default = true; };
enable = lib.mkEnableOption "hub instance" // { default = true; };
enableTLS = mkOption {
type = types.bool;
enableTLS = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable TLS support.";
};
settings = mkOption {
settings = lib.mkOption {
inherit (settingsFormat) type;
description = ''
Configuration of uhub.
@ -43,18 +40,18 @@ in {
};
};
plugins = mkOption {
plugins = lib.mkOption {
description = "Uhub plugin configuration.";
type = with types;
type = with lib.types;
listOf (submodule {
options = {
plugin = mkOption {
plugin = lib.mkOption {
type = path;
example = literalExpression
example = lib.literalExpression
"$${pkgs.uhub}/plugins/mod_auth_sqlite.so";
description = "Path to plugin file.";
};
settings = mkOption {
settings = lib.mkOption {
description = "Settings specific to this plugin.";
type = with types; attrsOf str;
example = { file = "/etc/uhub/users.db"; };

Some files were not shown because too many files have changed in this diff Show More