Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #55

Merged
merged 190 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
9537ce3
river-bnf: init at unstable-2023-10-10
adamcstephens Oct 11, 2023
7f45cd9
nqptp: add adamcstephens as maintainer
adamcstephens Oct 19, 2023
68829e6
nqptp: 1.2.3 -> 1.2.4
adamcstephens Oct 19, 2023
deef8ff
python311Packages.tvdb-api: rename from tvdb_api
natsukium Oct 20, 2023
b43269b
mpvScripts.thumbnail: 0.5.2 -> 0.5.3
r-ryantm Oct 20, 2023
e2e4463
rpi-imager: 1.7.5 -> 1.8.1
anthonyroussel Oct 20, 2023
0c578d1
rpi-imager: add passthru.tests.version
anthonyroussel Oct 20, 2023
24e4bc0
rpi-imager: add meta.mainProgram
anthonyroussel Oct 20, 2023
6bcc63a
wttrbar: 0.4.0 -> 0.5.0
khaneliman Oct 20, 2023
6ef329f
wttrbar: 0.5.0 -> 0.5.1
khaneliman Oct 20, 2023
d9dcbbd
python311Packages.qds-sdk: rename from qds_sdk
natsukium Oct 21, 2023
ccebea4
python311Packages.qds-sdk: refactor
natsukium Oct 21, 2023
5885a54
ttyplot: 1.4 -> 1.5
r-ryantm Oct 21, 2023
1121cec
mediathekview: Set `mainProgram` to "mediathek"
avdv Oct 21, 2023
22d19e9
complgen: 0.1.5 -> 0.1.6
r-ryantm Oct 21, 2023
6ea912d
randomx: 1.1.10 -> 1.2.1
r-ryantm Oct 21, 2023
4893c36
wttrbar: 0.5.1 -> 0.5.2
khaneliman Oct 21, 2023
3cb477b
guile-gcrypt: set strictDeps
wegank Oct 22, 2023
506cb9e
guile-git: set strictDeps
wegank Oct 22, 2023
c109adc
guile-gnutls: set strictDeps
wegank Oct 22, 2023
ac37aed
guile-json: set strictDeps
wegank Oct 22, 2023
70d9907
guile-lib: set strictDeps
wegank Oct 22, 2023
df4e8fb
guile-sqlite3: set strictDeps
wegank Oct 22, 2023
be37bda
scheme-bytestructures: set strictDeps
wegank Oct 22, 2023
902c21c
cidr-merger: init at 1.1.3
cyounkins Oct 8, 2023
472d1b8
textsnatcher: init at 2.0.0
Oct 22, 2023
204e07e
traefik: 2.10.4 -> 2.10.5
LeSuisse Oct 22, 2023
b269e68
nixos-rebuild: fix --install-bootloader flag with systemd-run
thiagokokada Oct 22, 2023
d57791c
python311Packages.aiowithings: 0.4.4 -> 1.0.0
r-ryantm Oct 22, 2023
e07d532
matrix-synapse: remove opentracing optional dependencies
yuyuyureka Oct 21, 2023
0288685
nixos/matrix-synapse: remove opentracing options
yuyuyureka Oct 22, 2023
c530484
nixpkgs-review: 2.10.2 -> 2.10.3
Stunkymonkey Oct 22, 2023
2587252
nixos/qemu-vm: add `virtualisation.tpm` for running TPM in QEMU infra…
RaitoBezarius Apr 30, 2023
83b131b
nixos/tests: adopt newest TPM support in test infra
RaitoBezarius Apr 30, 2023
60421a1
firefox: start killing all the per-extension options
K900 Oct 21, 2023
e6f5980
nixos/tests/firefox: use the module
K900 Oct 22, 2023
af7889b
todoman: apply upstream patch
gador Oct 22, 2023
6118c0b
litestream: 0.3.11 -> 0.3.12
r-ryantm Oct 22, 2023
f4d631c
nixos/nginx: document implicit default port 80
SuperSandro2000 Oct 22, 2023
007d92d
zfs: add armv7 to supported platforms
Majiir Aug 22, 2023
3afb34d
plantuml-server: 1.2023.10 -> 1.2023.12
r-ryantm Oct 22, 2023
3462952
nordic: unstable-2023-05-12 -> unstable-2023-10-17
romildo Oct 21, 2023
5fcb34c
nordic: fix destination directory for sddm themes
romildo Oct 21, 2023
c16fc1a
nordic: replace duplicates with symbolic links instead of hard links
romildo Oct 21, 2023
77313a5
nordic: does not pass libsForqt5, but the individual needed packages
romildo Oct 21, 2023
ef1e703
nordic: propagate sddm qt dependencies to user env
romildo Oct 21, 2023
8b4b92e
nordic: qtgraphicaleffects is not needed
romildo Oct 21, 2023
9634e40
nordic: move wallpapers to appropriate directory
romildo Oct 22, 2023
dc977b6
nordic: install folder icons and cursors
romildo Oct 22, 2023
3243330
python311Packages.stem: enable on Python 3.11
dotlambda Oct 22, 2023
cbfabed
rocmPackages.rocm-core: use tags for rocmUpdateScript
Madouura Oct 22, 2023
816a802
rocmPackages.rocm-core: 5.7.0 -> 5.7.1
Madouura Oct 22, 2023
ca9b6ed
gtk2: fix build with clang 16
reckenrode Oct 22, 2023
08f4fe2
qemu-vm: stop the swtpm once qemu stops
baloo Aug 1, 2023
533a80b
ciscoPacketTracer: move to by-name
lucasew Oct 20, 2023
fee5430
whatsapp-emoji-font: move to by-name
lucasew Oct 22, 2023
185d0d9
cockpit: move to by-name
lucasew Oct 22, 2023
3282bdd
python311Packages.chacha20poly1305-reuseable: 0.4.2 -> 0.10.2
mweinelt Oct 22, 2023
bce303f
matrix-synapse.tools.synadm: 0.43.1 -> 0.44
mweinelt Oct 22, 2023
1642fd5
python311Packages.rotary-embedding-torch: 0.3.2 -> 0.3.3
mweinelt Oct 22, 2023
06f8eb9
maintainers: add shivaraj-bh
shivaraj-bh Oct 22, 2023
5d30674
cargo-xwin: init at 0.14.8
shivaraj-bh Oct 22, 2023
e836e56
zulu: default to zulu21
wegank Oct 23, 2023
871f484
waybar-mpris: init at unstable-2022-01-27
khaneliman Oct 22, 2023
d466a34
python3Packages.kivy: fix build on Darwin
reckenrode Oct 22, 2023
3635b26
czkawka: add .desktop, icons and metainfo
yanganto Oct 22, 2023
4ec8176
cockpit: 287 -> 303
lucasew Oct 23, 2023
f28f642
bruno: 0.17.0 -> 0.27.0
lucasew Oct 23, 2023
e0680e0
cockpit: simplify update script
lucasew Oct 23, 2023
3742d94
python3Packages.qasync: 0.24.1 -> 0.26.1
lucasew Oct 23, 2023
c335908
python3Packages.orange3: 3.36.0 -> 3.36.1
lucasew Oct 23, 2023
53ff668
python3Packages.orange-canvas-core: 0.1.32 -> 0.1.33
lucasew Oct 23, 2023
03eb6b9
orange3: fix build
lucasew Oct 23, 2023
96c294e
python311Packages.stem: improve expression
dotlambda Oct 22, 2023
233e5fd
qutebrowser: 3.0.0 -> 3.0.2
arjan-s Oct 20, 2023
b5f04b8
cargo-nextest: 0.9.59 -> 0.9.61
r-ryantm Oct 23, 2023
a52abd4
Merge pull request #262623 from K900/continued-firefox-cleanups
K900 Oct 23, 2023
2f725ba
python311Packages.aioairzone-cloud: 0.2.7 -> 0.3.0
r-ryantm Oct 23, 2023
c21a89c
homepage-dashboard: 0.7.2 -> 0.7.4
jnsgruk Oct 23, 2023
1994a86
ocamlPackages.carton: 0.6.0 → 0.7.0
vbgl Oct 16, 2023
e1c765f
godns: 3.0.1 -> 3.0.4
linyinfeng Oct 23, 2023
5542db3
Merge pull request #262725 from r-ryantm/auto-update/python311Package…
fabaff Oct 23, 2023
931de27
tempo: backport fix for crashes after Go 1.21 update
K900 Oct 23, 2023
ead3a41
python311Packages.pathy: 0.10.2 -> 0.10.3
r-ryantm Oct 23, 2023
9c61d0f
python311Packages.pyfibaro: 0.7.5 -> 0.7.6
r-ryantm Oct 23, 2023
3bd3809
buildRustCrate: add isMips64n32 to badPlatforms
Jul 25, 2023
4fc0e33
buildRustPackage: add isMips64n32 to badPlatforms
Jul 25, 2023
7b9fa5f
crate2nix: 0.10.0 -> 0.11.0
kolloch Oct 22, 2023
69919a2
verilator: 5.012 -> 5.016
r-ryantm Oct 23, 2023
4c59760
python311Packages.pywemo: 1.3.0 -> 1.3.1
r-ryantm Oct 23, 2023
90b4574
python311Packages.qbittorrent-api: 2023.9.53 -> 2023.10.54
r-ryantm Oct 23, 2023
c8ae911
lzlib: fix cross
wegank Oct 21, 2023
b933721
Merge pull request #229035 from NixOS/qemu-vm/tpm
RaitoBezarius Oct 23, 2023
6ddb74a
Merge pull request #262542 from yu-re-ka/matrix-synapse-opentracing
mweinelt Oct 23, 2023
5bc9a59
python311Packages.validobj: 1.0 -> 1.1
r-ryantm Oct 23, 2023
76827e3
Merge pull request #262879 from K900/tempo-fix
K900 Oct 23, 2023
d1ee91c
Merge pull request #262796 from SuperSandro2000/patch-1
RaitoBezarius Oct 23, 2023
98afbaa
Merge pull request #250662 from Majiir/zfs-armv7
RaitoBezarius Oct 23, 2023
fe0f52e
Merge pull request #262468 from r-ryantm/auto-update/ttyplot
Lassulus Oct 23, 2023
c315a41
python311Packages.python-gvm: 23.10.0 -> 23.10.1
r-ryantm Oct 23, 2023
14019b7
sbt: 1.9.6 -> 1.9.7
r-ryantm Oct 23, 2023
2f7e972
tellico: 3.5.1 -> 3.5.2
r-ryantm Oct 23, 2023
418666f
Merge pull request #262825 from reckenrode/gtk2-fix
7c6f434c Oct 23, 2023
c9fd3c6
unifont_upper: 15.1.02 -> 15.1.03
r-ryantm Oct 23, 2023
3681bf7
Merge pull request #262888 from r-ryantm/auto-update/python311Package…
mweinelt Oct 23, 2023
50f0587
Merge pull request #262889 from r-ryantm/auto-update/python311Package…
mweinelt Oct 23, 2023
30ba670
Merge pull request #262884 from r-ryantm/auto-update/python311Package…
mweinelt Oct 23, 2023
cd0cae3
Merge pull request #262875 from avdv/mediathekview-mainprogram
mweinelt Oct 23, 2023
514a558
python310Packages.libknot: init at 3.3.2
mweinelt Sep 29, 2023
46b989f
prometheus-knot-exporter: 2021-08-21 -> 3.3.2
mweinelt Sep 29, 2023
589ccfd
nixos/prometheus-exporters/knot: update for new exporter
mweinelt Sep 29, 2023
715afeb
nixos/tests/prometheus-exporters/knot: update for new exporter version
Ma27 Sep 29, 2023
d4b380d
knot-dns: test exporter in passthru.tests
mweinelt Sep 29, 2023
9593318
extremetuxracer: set meta.mainProgram
kilianar Oct 23, 2023
37242fb
Merge pull request #262845 from mweinelt/rotary-embedding-torch-0.3.3
mweinelt Oct 23, 2023
8e647b7
Merge pull request #262280 from anthonyroussel/rpi-imager_1_8_1
marsam Oct 23, 2023
d6e4ce2
Merge pull request #262074 from adamcstephens/nqptp/1.2.4
marsam Oct 23, 2023
6c5458c
Merge pull request #260445 from adamcstephens/river-bnf/init
marsam Oct 23, 2023
ccebc89
nixos/tests: add nixos-rebuild-install-bootloader
thiagokokada Oct 22, 2023
ab3ca40
nixos/release-combined: add nixos-rebuild-specialisations to release-…
thiagokokada Oct 22, 2023
65cb8b4
nixos/tests: make nixos-rebuild tests x86_64-linux only
thiagokokada Oct 23, 2023
d4a8b35
Merge pull request #262720 from yanganto/czkawka-desktop-file
0x4A6F Oct 23, 2023
b7df937
Merge pull request #262823 from Madouura/pr/rocm-core
wegank Oct 23, 2023
1faecef
Merge pull request #259691 from cyounkins/cidr-merger
NickCao Oct 23, 2023
100603f
nushellPlugins: update to nushell 0.86.0
happysalada Oct 22, 2023
cee03e7
nushellPlugins.net: init at unstable-2023-09-27
happysalada Oct 22, 2023
12a2774
nushellPlugins.regex: remove unused arg
happysalada Oct 22, 2023
2201fa7
nu_scripts: unstable-2023-10-07 -> unstable-2023-10-19
happysalada Oct 22, 2023
8245b3e
Merge pull request #262836 from mweinelt/synadm-0.44
NickCao Oct 23, 2023
b2b11d3
Merge pull request #262903 from r-ryantm/auto-update/unifont_upper
NickCao Oct 23, 2023
330adf9
Merge pull request #262835 from mweinelt/chacha20poly1305-reusable-0.6.0
NickCao Oct 23, 2023
581f8f8
Merge pull request #262803 from r-ryantm/auto-update/plantuml-server
NickCao Oct 23, 2023
28d75ff
Merge pull request #262770 from r-ryantm/auto-update/litestream
NickCao Oct 23, 2023
f10674a
python311Packages.dj-rest-auth: fix tests
mweinelt Oct 23, 2023
3da39ff
Merge pull request #262748 from Stunkymonkey/nixpkgs-review-2.10.3
NickCao Oct 23, 2023
087fdfd
Merge pull request #262898 from r-ryantm/auto-update/python311Package…
NickCao Oct 23, 2023
b22a1d7
Merge pull request #262894 from r-ryantm/auto-update/python311Package…
NickCao Oct 23, 2023
2415a37
Merge pull request #262883 from r-ryantm/auto-update/python311Package…
NickCao Oct 23, 2023
2affb29
Merge pull request #262878 from linyinfeng/godns
NickCao Oct 23, 2023
6b8005f
Merge pull request #262872 from jnsgruk/homepage-dashboard-0.7.4
NickCao Oct 23, 2023
6da23cc
Merge pull request #262873 from r-ryantm/auto-update/python311Package…
NickCao Oct 23, 2023
3ad1ebe
Merge pull request #258047 from mweinelt/knot-exporter
Ma27 Oct 23, 2023
bd1fbd6
sphinx-automodapi: fix import check, tests, use pyproject
Madouura Oct 23, 2023
ae13317
Merge pull request #262900 from r-ryantm/auto-update/sbt
NickCao Oct 23, 2023
3821bd3
Merge pull request #262673 from khaneliman/waybar-mpris
wegank Oct 23, 2023
7f4904b
Merge pull request #262297 from khaneliman/wttrbar
wegank Oct 23, 2023
7ffbdba
python311Packages.drf-spectacular: fix tests
mweinelt Oct 23, 2023
a944b73
Merge pull request #262760 from gador/todoman-fix-test
wegank Oct 23, 2023
fbcb58d
Merge pull request #262902 from r-ryantm/auto-update/tellico
wegank Oct 23, 2023
2f90fcb
neovim-qt-unwrapped: 0.2.17 -> 0.2.18
r-ryantm Oct 23, 2023
4bf1366
Merge pull request #262724 from thiagokokada/fix-install-bootloader
roberth Oct 23, 2023
f9656cc
quake3-wrapper: Fix paths
tfc Oct 23, 2023
1e48f72
Merge pull request #262250 from natsukium/tvdb-api
mweinelt Oct 23, 2023
b338134
Merge pull request #262430 from natsukium/qds-sdk
mweinelt Oct 23, 2023
8d1dc07
Merge pull request #262549 from r-ryantm/auto-update/randomx
rnhmjoj Oct 23, 2023
6165846
mullvad: 2023.3 -> 2023.5
andresilva Oct 22, 2023
58c53b1
Merge pull request #262933 from Madouura/pr/sphinx-automod
lovesegfault Oct 23, 2023
6fe5212
python311Packages.google-cloud-speech: 2.21.0 -> 2.21.1
fabaff Oct 23, 2023
7aec39c
nixos/release-combined: drop ZFS+i686 from blockers
vcunat Oct 23, 2023
405427e
Merge pull request #262552 from romildo/upd.nordic
thiagokokada Oct 23, 2023
7359dcf
Merge pull request #262852 from lucasew/20231022-byname
thiagokokada Oct 23, 2023
973cca0
ventoy-full: 1.0.95 -> 1.0.96
r-ryantm Oct 23, 2023
460e248
Merge pull request #262929 from mweinelt/dj-rest-auth-tests
mweinelt Oct 23, 2023
bf8e5e0
Merge pull request #262939 from tfc/fix-quake3
drupol Oct 23, 2023
3c8a801
cargo-nextest: fix build on darwin
figsoda Oct 23, 2023
fba3a50
firefox-unwrapped: 118.0.2 -> 119.0
mweinelt Oct 23, 2023
19e7d30
Merge pull request #262792 from shivaraj-bh/cargo-xwin
wegank Oct 23, 2023
7e304c4
Merge pull request #262672 from ga1aksy/textsnatcher
wegank Oct 23, 2023
d81477d
firefox-bin-unwrapped: 118.0.2 -> 119.0
mweinelt Oct 23, 2023
7ace862
firefox-esr-115-unwrapped: 115.3.1esr -> 115.4.0esr
mweinelt Oct 23, 2023
eae5987
Merge pull request #262816 from reckenrode/kivy-fix
wegank Oct 23, 2023
c39de4d
Merge pull request #262841 from wegank/zulu-default
wegank Oct 23, 2023
fa28b17
luaPackages: ferris-nvim -> rustaceanvim
mrcjkb Oct 22, 2023
db1bfc4
vimPlugins: ferris-nvim -> rustaceanvim
mrcjkb Oct 22, 2023
8970fe5
Merge pull request #262914 from kilianar/etr-mainprogram
wegank Oct 23, 2023
a2f9450
onedrivegui: init at 1.0.3
chewblacka Oct 5, 2023
29e49c3
Merge pull request #262646 from wegank/guile-strict-deps-2
wegank Oct 23, 2023
924c682
sbt-with-scala-native: 1.9.6 -> 1.9.7 (#262938)
r-ryantm Oct 23, 2023
cc6c2d3
rosenpass: refactor, add module and test (#254813)
lorenzleutgeb Oct 23, 2023
4bbcae5
pulumiPackages.pulumi-azure-native: 1.92 -> 2.11 (#260456)
teto Oct 23, 2023
af80c5f
Merge pull request #262813 from dotlambda/stem-python311
dotlambda Oct 23, 2023
343cdd3
tts: 0.17.4 -> 0.18.2
happysalada Oct 22, 2023
ba583cb
Merge #262951: nixos/release-combined: drop ZFS+i686 from blockers
vcunat Oct 23, 2023
cedad8a
Merge pull request #262964 from mweinelt/firefox-119.0
mweinelt Oct 23, 2023
255fd49
Merge pull request #262713 from LeSuisse/traefik-2.10.5
risicle Oct 23, 2023
ac0bd91
Merge pull request #262525 from r-ryantm/auto-update/complgen
figsoda Oct 23, 2023
7a10810
Merge pull request #262256 from r-ryantm/auto-update/mpvScripts.thumb…
figsoda Oct 23, 2023
063e392
Merge pull request #262277 from arjan-s/bump-qutebrowser
nrdxp Oct 23, 2023
a9074f4
Merge pull request #262871 from r-ryantm/auto-update/cargo-nextest
figsoda Oct 23, 2023
9dc9be2
Merge pull request #262949 from fabaff/google-cloud-speech-bump
fabaff Oct 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16112,6 +16112,12 @@
fingerprint = "AB63 4CD9 3322 BD42 6231 F764 C404 1EA6 B326 33DE";
}];
};
shivaraj-bh = {
email = "[email protected]";
name = "Shivaraj B H";
github = "shivaraj-bh";
githubId = 23645788;
};
shlevy = {
email = "[email protected]";
github = "shlevy";
Expand Down
2 changes: 1 addition & 1 deletion maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ cyrussasl,https://github.com/JorjBauer/lua-cyrussasl.git,,,,,
digestif,https://github.com/astoff/digestif.git,,,0.2-1,5.3,
dkjson,,,,,,
fennel,,,,,,misterio77
ferris.nvim,,,,,,mrcjkb
fifo,,,,,,
fluent,,,,,,alerque
gitsigns.nvim,https://github.com/lewis6991/gitsigns.nvim.git,,,,5.1,
Expand Down Expand Up @@ -101,6 +100,7 @@ plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,5.1,
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
rest.nvim,,,,,5.1,teto
readline,,,,,,
rustaceanvim,,,,,,mrcjkb
say,https://github.com/Olivine-Labs/say.git,,,,,
serpent,,,,,,lockejan
sqlite,,,,,,
Expand Down
4 changes: 4 additions & 0 deletions nixos/doc/manual/release-notes/rl-2311.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@

- [Soft Serve](https://github.com/charmbracelet/soft-serve), a tasty, self-hostable Git server for the command line. Available as [services.soft-serve](#opt-services.soft-serve.enable).

- [Rosenpass](https://rosenpass.eu/), a service for post-quantum-secure VPNs with WireGuard. Available as [services.rosenpass](#opt-services.rosenpass.enable).

## Backward Incompatibilities {#sec-release-23.11-incompatibilities}

- `network-online.target` has been fixed to no longer time out for systems with `networking.useDHCP = true` and `networking.useNetworkd = true`.
Expand Down Expand Up @@ -313,6 +315,8 @@

- `rome` was removed because it is no longer maintained and is succeeded by `biome`.

- The `prometheus-knot-exporter` was migrated to a version maintained by CZ.NIC. Various metric names have changed, so checking existing rules is recommended.

- The `services.mtr-exporter.target` has been removed in favor of `services.mtr-exporter.jobs` which allows specifying multiple targets.

- Setting `nixpkgs.config` options while providing an external `pkgs` instance will now raise an error instead of silently ignoring the options. NixOS modules no longer set `nixpkgs.config` to accomodate this. This specifically affects `services.locate`, `services.xserver.displayManager.lightdm.greeters.tiny` and `programs.firefox` NixOS modules. No manual intervention should be required in most cases, however, configurations relying on those modules affecting packages outside the system environment should switch to explicit overlays.
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,7 @@
./services/networking/redsocks.nix
./services/networking/resilio.nix
./services/networking/robustirc-bridge.nix
./services/networking/rosenpass.nix
./services/networking/routedns.nix
./services/networking/rpcbind.nix
./services/networking/rxe.nix
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/programs/browserpass.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ with lib;
"opt/brave/native-messaging-hosts/${appId}".source = source "hosts/chromium";
"opt/brave/policies/managed/${appId}".source = source "policies/chromium";
};
programs.firefox.wrapperConfig.enableBrowserpass = true;
programs.firefox.nativeMessagingHosts.packages = [ pkgs.browserpass ];
};
}
103 changes: 65 additions & 38 deletions nixos/modules/programs/firefox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ with lib;
let
cfg = config.programs.firefox;

nmh = cfg.nativeMessagingHosts;

policyFormat = pkgs.formats.json { };

organisationInfo = ''
Expand All @@ -17,6 +15,50 @@ let
given control of your browser, unless of course they also control your
NixOS configuration.
'';

# deprecated per-native-messaging-host options
nmhOptions = {
browserpass = {
name = "Browserpass";
package = pkgs.browserpass;
};
bukubrow = {
name = "Bukubrow";
package = pkgs.bukubrow;
};
euwebid = {
name = "Web eID";
package = pkgs.web-eid-app;
};
ff2mpv = {
name = "ff2mpv";
package = pkgs.ff2mpv;
};
fxCast = {
name = "fx_cast";
package = pkgs.fx-cast-bridge;
};
gsconnect = {
name = "GSConnect";
package = pkgs.gnomeExtensions.gsconnect;
};
jabref = {
name = "JabRef";
package = pkgs.jabref;
};
passff = {
name = "PassFF";
package = pkgs.passff-host;
};
tridactyl = {
name = "Tridactyl";
package = pkgs.tridactyl-native;
};
ugetIntegrator = {
name = "Uget Integrator";
package = pkgs.uget-integrator;
};
};
in
{
options.programs.firefox = {
Expand Down Expand Up @@ -204,46 +246,31 @@ in
'';
};

nativeMessagingHosts = mapAttrs (_: v: mkEnableOption (mdDoc v)) {
browserpass = "Browserpass support";
bukubrow = "Bukubrow support";
euwebid = "Web eID support";
ff2mpv = "ff2mpv support";
fxCast = "fx_cast support";
gsconnect = "GSConnect support";
jabref = "JabRef support";
passff = "PassFF support";
tridactyl = "Tridactyl support";
ugetIntegrator = "Uget Integrator support";
};
nativeMessagingHosts = ({
packages = mkOption {
type = types.listOf types.package;
default = [];
description = mdDoc ''
Additional packages containing native messaging hosts that should be made available to Firefox extensions.
'';
};
}) // (mapAttrs (k: v: mkEnableOption (mdDoc "${v.name} support")) nmhOptions);
};

config = mkIf cfg.enable {
config = let
forEachEnabledNmh = fn: flatten (mapAttrsToList (k: v: lib.optional cfg.nativeMessagingHosts.${k} (fn k v)) nmhOptions);
in mkIf cfg.enable {
warnings = forEachEnabledNmh (k: v:
"The `programs.firefox.nativeMessagingHosts.${k}` option is deprecated, " +
"please add `${v.package.pname}` to `programs.firefox.nativeMessagingHosts.packages` instead."
);
programs.firefox.nativeMessagingHosts.packages = forEachEnabledNmh (_: v: v.package);

environment.systemPackages = [
(cfg.package.override (old: {
extraPrefs = cfg.autoConfig;
extraNativeMessagingHosts =
old.extraNativeMessagingHosts or []
++ optional nmh.ff2mpv pkgs.ff2mpv
++ optional nmh.euwebid pkgs.web-eid-app
++ optional nmh.gsconnect pkgs.gnomeExtensions.gsconnect
++ optional nmh.jabref pkgs.jabref
++ optional nmh.passff pkgs.passff-host;
cfg = let
# copy-pasted from the wrapper; TODO: figure out fix
applicationName = cfg.package.binaryName or (lib.getName cfg.package);

oldCfg = old.cfg or {};
nixpkgsConfig = pkgs.config.${applicationName} or {};
optionConfig = cfg.wrapperConfig;
nmhConfig = {
enableBrowserpass = nmh.browserpass;
enableBukubrow = nmh.bukubrow;
enableTridactylNative = nmh.tridactyl;
enableUgetIntegrator = nmh.ugetIntegrator;
enableFXCastBridge = nmh.fxCast;
};
in oldCfg // nixpkgsConfig // optionConfig // nmhConfig;
extraPrefsFiles = old.extraPrefsFiles or [] ++ [(pkgs.writeText "firefox-autoconfig.js" cfg.autoConfig)];
nativeMessagingHosts = old.nativeMessagingHosts or [] ++ cfg.nativeMessagingHosts.packages;
cfg = (old.cfg or {}) // cfg.wrapperConfig;
}))
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ in

services.dbus.packages = [ pkgs.gnome-browser-connector ];

programs.firefox.wrapperConfig.enableGnomeExtensions = true;
programs.firefox.nativeMessagingHosts.packages = [ pkgs.gnome-browser-connector ];
};
}
2 changes: 0 additions & 2 deletions nixos/modules/services/matrix/synapse.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ let
++ lib.optional (cfg.settings ? oidc_providers) "oidc"
++ lib.optional (cfg.settings ? jwt_config) "jwt"
++ lib.optional (cfg.settings ? saml2_config) "saml2"
++ lib.optional (cfg.settings ? opentracing) "opentracing"
++ lib.optional (cfg.settings ? redis) "redis"
++ lib.optional (cfg.settings ? sentry) "sentry"
++ lib.optional (cfg.settings ? user_directory) "user-search"
Expand Down Expand Up @@ -334,7 +333,6 @@ in {
[
"cache-memory" # Provide statistics about caching memory consumption
"jwt" # JSON Web Token authentication
"opentracing" # End-to-end tracing support using Jaeger
"oidc" # OpenID Connect authentication
"postgres" # PostgreSQL database backend
"redis" # Redis support for the replication stream between worker processes
Expand Down
19 changes: 12 additions & 7 deletions nixos/modules/services/monitoring/prometheus/exporters/knot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ in {
port = 9433;
extraOpts = {
knotLibraryPath = mkOption {
type = types.str;
default = "${pkgs.knot-dns.out}/lib/libknot.so";
defaultText = literalExpression ''"''${pkgs.knot-dns.out}/lib/libknot.so"'';
type = types.nullOr types.str;
default = null;
example = literalExpression ''"''${pkgs.knot-dns.out}/lib/libknot.so"'';
description = lib.mdDoc ''
Path to the library of `knot-dns`.
'';
Expand All @@ -25,25 +25,30 @@ in {
};

knotSocketTimeout = mkOption {
type = types.int;
type = types.ints.positive;
default = 2000;
description = lib.mdDoc ''
Timeout in seconds.
'';
};
};
serviceOpts = {
path = with pkgs; [
procps
];
serviceConfig = {
ExecStart = ''
${pkgs.prometheus-knot-exporter}/bin/knot_exporter \
${pkgs.prometheus-knot-exporter}/bin/knot-exporter \
--web-listen-addr ${cfg.listenAddress} \
--web-listen-port ${toString cfg.port} \
--knot-library-path ${cfg.knotLibraryPath} \
--knot-socket-path ${cfg.knotSocketPath} \
--knot-socket-timeout ${toString cfg.knotSocketTimeout} \
${lib.optionalString (cfg.knotLibraryPath != null) "--knot-library-path ${cfg.knotLibraryPath}"} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
SupplementaryGroups = [ "knot" ];
SupplementaryGroups = [
"knot"
];
RestrictAddressFamilies = [
# Need AF_UNIX to collect data
"AF_UNIX"
Expand Down
Loading