Commit Graph

40074 Commits

Author SHA1 Message Date
Robert Schütz
7cdbfcbbd2
Merge pull request #278981 from dotlambda/mollysocket-init
mollysocket: init at 1.3.0, nixos/mollysocket: init
2024-03-28 18:51:07 +00:00
Robert Hensing
b40caf8c8a
Merge pull request #273769 from Izorkin/update-peertube
peertube: 5.2.1 -> 6.0.3
2024-03-28 19:40:42 +01:00
Thiago Kenji Okada
48f9437cd1
Merge pull request #263360 from duament/nixos-rebuild-pipe
nixos-rebuild: use --pipe instead of --pty in systemd-run
2024-03-28 18:25:08 +00:00
github-actions[bot]
edf05b9f79
Merge master into staging-next 2024-03-28 18:00:57 +00:00
Silvan Mosberger
1f7ac8f58b
Merge pull request #296384 from pennae/remove-docbook-docs-support
nixos/docs: remove docbook support machinery
2024-03-28 18:03:31 +01:00
Robert Schütz
078994248a nixos/mollysocket: init 2024-03-28 09:55:10 -07:00
pennae
02aff756c3 nixos/doc: remove optionsDocBook
these were deprecated in 23.11 and slated for removal in 24.05. 24.05 is
soon enough, so we should probably make good on this promise.
2024-03-28 17:21:37 +01:00
anna
de9db9a27b brscan5: fix sane config path 2024-03-28 16:02:51 +01:00
Payas Relekar
466b994af9 nixos/workout-tracker: init 2024-03-28 20:08:28 +05:30
Casey Link
6955b3743c
nixos/roon-server: add package option
Upstream updates roon-server frequently, and client apps (iOS, Android,
etc) will stop working with older versions of the roon-server.

We can't always keep the roon-server up to date as fast as upstream
releases, so it is often necessary for users to use an overlay or
provide their own version.

In particular the use case of running NixOS stable channel, but wanting
to use the `pkgs.roon-server` from unstable is one that I want to
support with this simple change.
2024-03-28 14:12:12 +01:00
github-actions[bot]
69de1e1beb
Merge master into staging-next 2024-03-28 12:01:21 +00:00
Weijia Wang
cb00e17a14
Merge pull request #299169 from ShamrockLee/go-module-vendorsha256
buildGoModule: Deprecate vendorSha256 with throw
2024-03-28 10:58:18 +01:00
K900
95318bd0b8
Merge pull request #290122 from FriedrichAltheide/virtualbox-guest-additions-fixes
virtualbox: guest additions resize & clipboard fixes
2024-03-28 11:42:22 +03:00
Janne Heß
fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß
bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
yunfachi
c79bb39f81 nixos/archisteamfarm: fix empty check for bots 2024-03-28 08:53:52 +03:00
Philip Taron
546fc67242
Avoid top-level with ...; in nixos/lib/utils.nix 2024-03-27 22:04:17 -07:00
Philip Taron
ad920b32c2
Avoid top-level with ...; in nixos/lib/systemd-unit-options.nix 2024-03-27 22:00:34 -07:00
Philip Taron
7d130cf752
Avoid top-level with ...; in nixos/lib/systemd-types.nix 2024-03-27 21:56:52 -07:00
Philip Taron
d509d28475
Avoid top-level with ...; in nixos/lib/systemd-network-units.nix 2024-03-27 21:43:22 -07:00
Philip Taron
f290c5901b
Avoid top-level with ...; in nixos/lib/systemd-lib.nix 2024-03-27 21:42:17 -07:00
github-actions[bot]
8de0afeb83
Merge master into haskell-updates 2024-03-28 00:12:55 +00:00
github-actions[bot]
944103e875
Merge master into staging-next 2024-03-28 00:02:30 +00:00
Jörg Thalheim
6d64d66af1
Merge pull request #299576 from SuperSandro2000/nix-ld-config
nixos/nix-ld: move default libraries to config
2024-03-27 23:31:03 +01:00
Sandro Jäckel
c71c097282
nixos/nix-ld: fix typo 2024-03-27 21:24:33 +01:00
Sandro Jäckel
6df88425c8
nixos/nix-ld: move default libraries to config 2024-03-27 20:42:25 +01:00
Maximilian Bosch
feb8fc7218
Merge pull request #299501 from majiru/readd-make-test-python-default-system
Revert breaking change to make-python-test.nix
2024-03-27 18:07:41 +00:00
github-actions[bot]
410019beb5
Merge master into staging-next 2024-03-27 18:01:02 +00:00
Sandro
d6411ed8c6
Merge pull request #297346 from codingCoffee/usbguard-fix
usbguard: fix policy enums
2024-03-27 18:52:43 +01:00
Bjørn Forsman
db8f2488a8
nixos/pretix: say what it is in the "enable" docstring (#299540) 2024-03-27 18:12:38 +01:00
Sandro
9b1984ce36
Merge pull request #293117 from SuperSandro2000/goldwarden 2024-03-27 17:04:26 +01:00
Jacob Moody
d9039fcdd2 nixos/tests: readd builtins.currentSystem to make-test-python.nix
There is more nuance in the  ways people expect to run tests,
as such this still has some breakage. Revert for now.
2024-03-27 08:37:43 -05:00
github-actions[bot]
14abde4e89
Merge master into staging-next 2024-03-27 12:01:28 +00:00
Adam C. Stephens
0ca930ad59
Merge pull request #299340 from adamcstephens/incus/0.7
incus: 0.6 -> 0.7
2024-03-27 07:29:00 -04:00
Sandro
f87c956ea7
Merge pull request #281236 from melvyn2/update-kavita 2024-03-27 11:17:39 +01:00
lassulus
e91a1ad1e3
Merge pull request #298737 from MatthewCroughan/mc/scion-modules
nixos/scion: init
2024-03-27 10:15:37 +01:00
Jacek Galowicz
e6e4a15f3a
Merge pull request #299395 from ElvishJerricco/initrd-backdoor-remove-unnecessary-wait
nixos/tests: Remove unnecesary wait from initrdBackdoor
2024-03-27 09:49:40 +01:00
matthewcroughan
4d841207c5 nixos/tests/ustreamer: init 2024-03-27 06:35:55 +00:00
github-actions[bot]
26128332c3
Merge master into staging-next 2024-03-27 06:01:26 +00:00
K900
1b08f32c98
Merge pull request #299299 from eclairevoyant/pipewire-docs
nixos/{pipewire,wireplumber}: document examples for `*.configPackages` and cleanup
2024-03-27 08:43:44 +03:00
jxd
88d183af85 init 2024-03-27 12:27:19 +08:00
melvyn
6bf7438e4f
kavita: document breaking option changes in release notes 2024-03-26 21:15:30 -07:00
Yongun Seong
477dce3b9a
nixos/kavita: accept freeform settings, ensure locales in tests 2024-03-26 21:15:29 -07:00
Will Fancher
7935db1456 nixos/tests: Remove unnecesary wait from initrdBackdoor 2024-03-26 23:40:05 -04:00
Yueh-Shun Li
c9da94beff buildGoModule: Deprecate vendorSha256 with throw
Ignore vendorSha256 when vendorHash is specified.

Throw when vendorHash isn't specified:
- "buildGoModule: Expect vendorHash instead of vendorSha256" when
  vendorSha256 is specified.
- "buildGoModule: vendorHash is missing" otherwise.

`goModules.outputHashAlgo` is specified as null when vendorHash is not
empty, "sha256" otherwise.

Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2024-03-27 11:19:40 +08:00
Alex Martens
1dacec9bb9 nixos/llama-cpp: fix example flags 2024-03-26 19:32:13 -07:00
github-actions[bot]
7f599f6511
Merge master into haskell-updates 2024-03-27 00:12:11 +00:00
Adam Stephens
a5a4da89ba
incus: 0.6 -> 0.7 2024-03-26 20:08:43 -04:00
github-actions[bot]
b289464fb6
Merge master into staging-next 2024-03-27 00:02:10 +00:00
Luke Granger-Brown
3b8cd8ad70 installer/nixos-generate-config: correctly detect bcache
PR #256638 inadvertently introduced a bug in `nixos-generate-config` whereby it
would never put `bcache` into the `availableKernelModules` for the initrd.

This is because the `qr` operator in Perl returns a regex object, rather than
matching it; the regex object evaluates to true, making the filter expression
effectively `grep(!true, @bcacheDevices)`, which will always return an empty
list.
2024-03-26 23:32:09 +01:00
Will Fancher
c77e28a013
Merge pull request #298201 from philiptaron/fix-initrd-activation-with-gpt-auto
nixos/systemd/initrd: make systemd mount root as `rw` when using gpt-auto to find it
2024-03-26 18:09:33 -04:00
éclairevoyant
45af6b985f
release-notes: document breaking changes for pipewire and wireplumber 2024-03-26 16:41:58 -04:00
éclairevoyant
eddbb7932f
nixos/wireplumber: reuse local binding to simplify 2024-03-26 16:41:58 -04:00
éclairevoyant
ff77d83327
nixos/wireplumber: provide example for services.pipewire.wireplumber.configPackages 2024-03-26 16:41:57 -04:00
éclairevoyant
f5b680b97c
nixos/wireplumber: update services.pipewire.wireplumber.configPackages description for v0.5 2024-03-26 16:41:57 -04:00
éclairevoyant
3aa01f7f13
nixos/wireplumber: inherit lib functions 2024-03-26 16:41:57 -04:00
éclairevoyant
d2843640cb
nixos/wireplumber: remove lib.mdDoc (no-op) 2024-03-26 16:41:52 -04:00
éclairevoyant
ff8f1a1f4e
nixos/pipewire: document example for services.pipewire.configPackages 2024-03-26 16:41:51 -04:00
éclairevoyant
27a2f2a429
nixos/pipewire: replace with lib; with inherit 2024-03-26 16:41:51 -04:00
éclairevoyant
f3b74afdc7
nixos/pipewire: remove lib.mdDoc (no-op) 2024-03-26 16:41:51 -04:00
Silvan Mosberger
8a1110b5e6
Merge pull request #297901 from tweag/check-by-name-separate-repo
Switch the `pkgs/by-name` check to a separate repository
2024-03-26 21:33:15 +01:00
Silvan Mosberger
f7ea336cb2 workflows/check-by-name.yml: Switch to new separate repo
The nixpkgs-check-by-name tooling is [being moved](https://github.com/NixOS/nixpkgs/issues/286559#issuecomment-2000466124)
to a [separate repo](https://github.com/NixOS/nixpkgs-check-by-name).

This commit updates Nixpkgs CI to use it instead of the tree inside
Nixpkgs

No changes have been made to the tooling locally since it was moved:
- [Exported history](55bf02190e/pkgs/test/nixpkgs-check-by-name)
- [Imported history](d579e1821d/)
2024-03-26 21:24:48 +01:00
Atemu
f54166d281
Merge pull request #299008 from Atemu/paperless-OMP_NUM_THREADS
nixos/paperless: set OMP_NUM_THREADS=1 by default
2024-03-26 19:45:45 +00:00
github-actions[bot]
607cdcc471
Merge master into staging-next 2024-03-26 18:01:21 +00:00
Atemu
70fa188e17 nixos/paperless: set OMP_NUM_THREADS=1 by default
Fixes https://github.com/NixOS/nixpkgs/issues/240591
2024-03-26 17:56:01 +01:00
matthewcroughan
99e488e2df nixos/scion: init 2024-03-26 15:54:09 +00:00
Adam C. Stephens
d729632b6f
Merge pull request #297782 from adamcstephens/fix-linger
nixos/users-groups: fix broken linger
2024-03-26 09:48:05 -04:00
Mario Rodas
6adcdc8526
Merge pull request #298611 from anthonyroussel/update/goss
goss: 0.4.4 -> 0.4.6
2024-03-26 08:37:47 -05:00
Atemu
9622a59241
Merge pull request #299036 from Shawn8901/fix-extest-extraenv
steam: fix merging of extraEnv with extest enabled
2024-03-26 12:06:34 +00:00
github-actions[bot]
e6f06c8dc6
Merge master into staging-next 2024-03-26 12:01:01 +00:00
Franz Pletz
774dca168d
Merge pull request #270465 from philiptaron/sideband-socket-path
nixos/nvidia: Set SidebandSocketPath to a user-writable path in `/run`
2024-03-26 12:35:55 +01:00
superherointj
6f414604e2
Merge pull request #296852 from Ramblurr/add-microsocks
microsocks: init at 1.0.4
2024-03-26 08:34:45 -03:00
Franz Pletz
05677341df
Merge pull request #298956 from ncfavier/nvidia-doc
nixos/nvidia: update manual
2024-03-26 12:31:36 +01:00
Friedrich Altheide
f0887fa040 virtualbox: fix guest additions resize support
- Build virtualbox guest additions from source and fix paths
- Install VBoxDRMClient to support resizing
  - Support resizing on wayland and x11
- Adding multiple new options
  - clipboard
  - seamless
- Removing x11 option
- Support linux 6.8
2024-03-26 11:47:00 +01:00
Casey Link
cef226e553
nixos/microsocks: init 2024-03-26 07:52:41 +01:00
github-actions[bot]
39a71cf239
Merge master into haskell-updates 2024-03-26 00:12:22 +00:00
github-actions[bot]
c904e6bf24
Merge master into staging-next 2024-03-26 00:02:03 +00:00
Shawn8901
942a381573 steam: fix merging of extraEnv with extest enabled 2024-03-25 23:38:33 +01:00
Sandro
dcbfb2b98a
Merge pull request #262462 from io12/flatpak-fix-fonts-icons
nixos/flatpak: pass system icons and fonts
2024-03-25 23:23:09 +01:00
Sandro Jäckel
7ffcd69c1f
nixos/goldwarden: init 2024-03-25 22:29:55 +01:00
Adam C. Stephens
c9c612f159
Merge pull request #294548 from adamcstephens/incus/override
incus: move wrapper to nixos module
2024-03-25 16:40:14 -04:00
Adam C. Stephens
8893c5886a
Merge pull request #263404 from camillemndn/firefoxpwa
firefoxpwa: init at 2.11.1
2024-03-25 16:38:52 -04:00
Sandro
c90ed026b7
Merge pull request #281075 from melvyn2/patch-2
nixos/slskd: refactor and add config file options
2024-03-25 21:00:01 +01:00
annalee
7541ec60b6
Merge remote-tracking branch 'upstream/master' into staging-next 2024-03-25 18:04:41 +00:00
j-k
88e7ad7c30
tracee: 0.13.1 -> 0.20.0 (#297661)
Adjust the build process
Skip some integration tests I can't fix
2024-03-25 19:01:56 +01:00
Anthony Roussel
e994c804b6
nixosTests.goss: fix unstable test 2024-03-25 18:49:46 +01:00
Naïm Favier
fb613a3a41
nixos/nvidia: update manual
Remove the `nvidiaLegacy*` video drivers from the manual: not only are
they deprecated, their deprecation notice was removed in
https://github.com/NixOS/nixpkgs/pull/244060.
2024-03-25 16:56:11 +01:00
Jörg Thalheim
ea503179c5
Merge pull request #298607 from Mic92/nix-ld-rs
nix-ld-rs: init at 2024-03-23
2024-03-25 14:52:21 +01:00
github-actions[bot]
90e2c2cda5
Merge master into staging-next 2024-03-25 12:01:17 +00:00
Jörg Thalheim
2724e18228
Merge pull request #297142 from Mic92/envfs
envfs: 1.0.3 -> 1.0.6
2024-03-25 12:36:03 +01:00
superherointj
283fa362e6
Merge pull request #298481 from superherointj/k3s-nixos-tests-fix-maintainers
k3s/nixos/tests: sync meta.maintainers to k3s package
2024-03-25 08:33:36 -03:00
Tobias Poschwatta
ee2b899ff7 nixos/nfsd: settings for /etc/nfs.conf
services.nfs.settings is added for options that go into /etc/nfs.conf.

There are services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig, but they have drawbacks.  They overlap in
scope (nfs.extraConfig can also add nfsd options). They require that one
writes INI syntax. They often produce nfs.conf files with duplicate
section names, which is confusing.

This deprecates services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig.

services.nfs.settings cannot be used together with
services.nfs.server.extraNfsdConfig or services.nfs.extraConfig.
2024-03-25 12:22:48 +01:00
Robert Hensing
ecbeabd182
Merge pull request #293846 from amarshall/darwin-linux-builder-fail-on-error
darwin.linux-builder: Exit scripts on error
2024-03-25 12:20:58 +01:00
sefidel
ec87711e54 crystal: 1.9 -> 1.11
Changes: https://github.com/crystal-lang/crystal/compare/1.9.2...1.11.2
Changelog: https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1112-2024-01-18
2024-03-25 03:54:33 -07:00
Melvyn
4da76cc6f4
nixos/slskd: refactor and add config file options 2024-03-24 18:26:56 -07:00
github-actions[bot]
3edac3b767
Merge master into haskell-updates 2024-03-25 00:13:28 +00:00
github-actions[bot]
8794d573a4
Merge master into staging-next 2024-03-25 00:02:29 +00:00
Weijia Wang
ff41f7134d
Merge pull request #297262 from StillerHarpo/monetdb-nixos-test
nixos/monetdb: Init nixos test
2024-03-24 23:15:56 +01:00
paki23
c3a1620624
firefoxpwa: init at 2.11.1
firefoxpwa: move to pkgs/by-name
2024-03-24 18:02:25 -04:00
Sandro
60f419e047
Merge pull request #284626 from numinit/armagetronad-unstable-updates
armagetronad.*: 0.2.9.1.1 -> 0.2.9.2.3
2024-03-24 22:14:33 +01:00
Sandro
0e1cac923d
Merge pull request #286685 from max-niederman/photonvision
photonvision: init at 2024.2.3
2024-03-24 22:05:36 +01:00
Sandro
76e86c46b2
Merge pull request #273234 from SuperSandro2000/oauth2-proxy-nginx
nixos/oauth2_proxy_nginx: allow placing the login page itself under a separate domain
2024-03-24 22:03:10 +01:00
Sandro
c51e10cbd2
Merge pull request #283240 from Aleksanaa/nixos/plymouth
nixos/plymouth: improving documentation of logo option
2024-03-24 21:53:08 +01:00
Sandro
dabaa7ac65
Merge pull request #288033 from diogotcorreia/module-dnsproxy
nixos/dnsproxy: init module
2024-03-24 21:52:09 +01:00
Rick van Schijndel
838750a9fd
hydra_unstable: 2023-12-24 -> 2024-03-08, use nix_2_20
Update tests according to ceff5c5cfe
2024-03-24 20:40:01 +01:00
github-actions[bot]
e3eacb46bc
Merge master into staging-next 2024-03-24 18:01:19 +00:00
K900
3d41d10877
Merge pull request #298663 from K900/simplefb-oof
nixos/profile/all-hardware: remove simplefb
2024-03-24 19:21:16 +03:00
Felix Bühler
63078e3468
Merge pull request #298168 from ambroisie/improve-tandoor-recipes-manage
nixos/tandoor-recipes: improve manage script
2024-03-24 17:06:01 +01:00
K900
5fbc094393 nixos/profile/all-hardware: remove simplefb
It's simpledrm now and it's compiled in.
2024-03-24 18:44:19 +03:00
Jörg Thalheim
04ec4568c6 nix-ld-rs: init at 2024-03-23 2024-03-24 12:27:20 +01:00
Jörg Thalheim
3a8e8369a6 envfs: 1.0.3 -> 1.0.6
Diff: https://github.com/Mic92/envfs/compare/1.0.3...1.0.6
2024-03-24 10:26:45 +01:00
github-actions[bot]
31a14cb69e
Merge master into haskell-updates 2024-03-24 00:14:19 +00:00
github-actions[bot]
f0ed26755a
Merge staging-next into staging 2024-03-24 00:02:41 +00:00
superherointj
56b4159e23 nixos/tests/k3s: sync meta.maintainers to k3s package 2024-03-23 19:55:00 -03:00
Martin Weinelt
3bc33ba58d
nixos/wyoming-faster-whisper: update model option 2024-03-23 23:29:06 +01:00
K900
1b59f54864
Merge pull request #298363 from K900/greetd-alias
nixos/greetd: create display-manager.service alias
2024-03-24 01:04:40 +03:00
Pol Dellaiera
e2a73469df
Merge pull request #292645 from soispha/add-redlib
redlib: init at 0.31.0
2024-03-23 19:18:08 +01:00
github-actions[bot]
144656e6ee
Merge staging-next into staging 2024-03-23 18:01:44 +00:00
Maciej Krüger
94d6d4e93a
nixos/docuum: add module for docuum package
Co-Authored-By: Martin Weinelt <mweinelt@users.noreply.github.com>
2024-03-23 18:25:55 +01:00
Sandro
9ae4475cff
Merge pull request #291214 from RatCornu/suwayomi-server
suwayomi-server: 0.7.0 -> 1.0.0
2024-03-23 17:56:19 +01:00
Soispha
bc54360b99
nixos/tests: add redlib test using the libreddit module 2024-03-23 17:03:34 +01:00
Martin Weinelt
bc11108f35
Merge pull request #295417 from NyCodeGHG/nixos/fritz-exporter
nixos/prometheus-fritz-exporter: init module
2024-03-23 16:37:49 +01:00
Marie Ramlow
88daab5195 nixos/prometheus-fritz-exporter: init module 2024-03-23 16:32:25 +01:00
Nick Cao
5c586526bf
Merge pull request #298211 from NickCao/pam-fprintd
nixos/pam: use services.fprintd.package for fprintd rule
2024-03-23 11:30:41 -04:00
Martin Weinelt
a4b6e457b8
nixos/lib: Support derivations in escapeSystemdExecArg
They can be transformed into their outpath string, which is useful for
config generators.
2024-03-23 15:59:50 +01:00
lassulus
91a24793e3
Merge pull request #298336 from flokli/mycelium-description-fixes
nixos/mycelium: description updates
2024-03-23 21:39:05 +07:00
K900
c0949a240a nixos/greetd: create display-manager.service alias 2024-03-23 16:33:16 +03:00
github-actions[bot]
97f05fe383
Merge staging-next into staging 2024-03-23 12:01:37 +00:00
Florian Klink
21721e4196 nixos/mycelium: description updates
- Slight rewordings and typo fixes.
 - Use documentation prefixes for addresses, rather than 1.2.3.4, and
   add IPv6 examples.
 - Fix description for `keyFile` (`/var/lib/mycelium/key{,.bin}`).
 - Some formatting by my editor
2024-03-23 12:36:49 +01:00
superherointj
7809138b7f nixos/tests/etcd: enable aarch64-linux
* move etcd tests to it's own directory
2024-03-23 06:13:41 -03:00
Nick Cao
cee0d0bac7
nixos/pam: use services.fprintd.package for fprintd rule 2024-03-22 20:14:49 -04:00
github-actions[bot]
39632d3d4c
Merge master into haskell-updates 2024-03-23 00:12:18 +00:00
Philip Taron
e2e43f6ce7
nixos/systemd/initrd: make systemd mount root as rw if gpt-auto is set 2024-03-22 16:08:29 -07:00
Bruno BELANYI
af6e257878 nixos/tandoor-recipes: improve manage script
This is shamelessly stolen from Photoprism's module, and should allow
executing the manage script without resorting to various tricks due to
relying on transient users.
2024-03-22 20:54:36 +00:00
Bruno BELANYI
6b1e9f77f9 nixos/tandoor-recipes: set service 'Group' 2024-03-22 20:47:55 +00:00
github-actions[bot]
64852c04d3
Merge staging-next into staging 2024-03-22 18:01:31 +00:00
Maximilian Bosch
e7533df80f
nixos/mastodon: stop mastodon-init-db.service if check for seeded DB fails
The postgresql runs on a different node than my mastodon itself. Sometimes when
rebooting the entire host it can happen that mastodon gets started
before the DB[1] is up. In that case `mastodon-init-db.service` ran
through with the following log output:

    2024-03-07 15:30:56.856
    Migrating database (this might be a noop)
    2024-03-07 15:30:56.856
    /nix/store/xzm7www0qb7jg5zrgg7knynckx5yhki9-unit-script-mastodon-init-db-start/bin/mastodon-init-db-start: line 9: [: -eq: unary operator expected

It seems wrong to me to have this unit pass if the DB isn't even up,
especially with such an error.

This patch now checks if the exit code of the psql check was non-zero
and fails the entire unit. A retry can be implemented e.g. with
Restart/RestartSec then (which is more elegant than adding a while/sleep
loop anyways) like this:

    systemd.services.mastodon-init-db = {
      serviceConfig = {
        Restart = "on-failure";
        RestartSec = "5s";
        RestartMode = "direct";
        RemainAfterExit = true;
      };
      unitConfig = {
        StartLimitBurst = 5;
        StartLimitIntervalSec = "60";
      };
    };

Also using `-t --csv` now to not render the column name and to not
render a table so we don't need to rely on the format of psql (and parse
it with `sed(1)`).

[1] I added a script that blocks until postgres is there in the meantime
    though.
2024-03-22 17:51:20 +01:00
Vladimír Čunát
e90be8418d
Merge #284149: nixos/kernel: add hid_corsair to initrd modules 2024-03-22 14:59:18 +01:00
github-actions[bot]
350f0a9a66
Merge staging-next into staging 2024-03-22 12:01:46 +00:00
K900
176ee51929
Merge pull request #297806 from andrevmatos/nixos/wireplumber/fix_systemwide_bluetooth
nixos/wireplumber: fix systemwide bluetooth integration
2024-03-22 09:47:46 +03:00
github-actions[bot]
8c5e10ca32
Merge staging-next into staging 2024-03-22 06:01:35 +00:00
Bobby Rong
5cf5dd0fb0
Merge pull request #297727 from bobby285271/upd/budgie-nemo-terminal
nixos/budgie: Use gnome-terminal by default
2024-03-22 13:20:40 +08:00
Bobby Rong
0f150faf98
Merge pull request #297941 from bobby285271/upd/budgie-fprintd
nixos/budgie: Don't enable fprintd by default
2024-03-22 13:00:38 +08:00
Bobby Rong
414628b4a0
nixos/budgie: Don't enable fprintd by default
This is optional for {budgie,gnome}-control-center and is not
enabled in the GNOME module.

To re-enable this fprintd should be unbreak first.
2024-03-22 12:28:17 +08:00
Maciej Krüger
ccf8f3a8fb
Merge pull request #297464 from mkg20001/fcfix
nixos/fcitx5: fix warning about plasma6 option
2024-03-22 01:35:59 +01:00
github-actions[bot]
d899609c2a
Merge master into haskell-updates 2024-03-22 00:12:31 +00:00
github-actions[bot]
dce2b692f1
Merge staging-next into staging 2024-03-22 00:02:53 +00:00
Adam Stephens
790fb86a7f
nixos/users-groups: move linger to oneshot and add nixos test 2024-03-21 19:51:05 -04:00
Peder Bergebakken Sundt
554f412e2d
Merge pull request #294171 from Noodlez1232/joycond-cemuhook-fix
nixos/joycond-cemuhook: fix missing module
2024-03-22 00:40:59 +01:00
e1mo
bc25c4bd7d
nixos/pretix: raise TimeoutStartSec
On some slower systems or ones with a slower database (connection) the
initial migrations can exceed the default 90s timeout.
2024-03-21 21:49:40 +01:00
e1mo
6d5a6cab71
nixos/pretix: Fix pdf generation
Previously, pdftk (part of the ticket, badge, ... generation pipeline)
would fail with:

```
Error occurred during initialization of VM
Failed to mark memory page as executable - check if grsecurity/PaX is enabled
```
Thise caused pdf generation to fail.

Since pdftk is a java application and, according to systemd.exec(5),

 > Note that [MemoryDenyWriteExecute=] is incompatible with programs and
 > libraries that generate program code dynamically at runtime, including
 > JIT execution engines, executable stacks, and code "trampoline" featu
 > re of various C compilers.

Disabling `MemoryDenyWriteExecute=` fixes it.
2024-03-21 21:49:39 +01:00
K900
ff3d03a15f
Merge pull request #297697 from K900/plasma6-install-kio5
plasma6: also install base kio5
2024-03-21 23:05:33 +03:00
sternenseemann
b4d48b0f9e Merge branch master into haskell-updates 2024-03-21 21:01:05 +01:00
André Vitor de Lima Matos
bdc6b3abe0
nixos/wireplumber: fix systemwide bluetooth integration
From https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3828#note_2270701
Broken/removed in #278760
2024-03-21 16:21:59 -03:00
github-actions[bot]
d28bcc2044
Merge staging-next into staging 2024-03-21 18:01:42 +00:00
Adam Stephens
564c3749d9
nixos/users-groups: fix broken linger 2024-03-21 13:47:15 -04:00
Johannes Kirschbauer
9a21db7be8
doc: write improved documentation for nixosOptionsDoc (#295279)
* doc: write improved documentation for nixosOptionsDoc

* Apply suggestions from @infinisil

Co-authored-by: Silvan Mosberger <github@infinisil.com>

* doc: minor fixup

---------

Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-03-21 16:07:18 +01:00
K900
d23f4b140f
Merge pull request #297479 from cab404/raop-firewall
nixos/pipewire: raopOpenFirewall option
2024-03-21 18:05:20 +03:00
Bobby Rong
b79ac84d84
nixos/budgie: Use gnome-terminal by default
- Both budgie-desktop-view and cinnamon-desktop defaults to gnome-terminal, there
  are no clear reason why we don't use the defaults here.
  The cinnamon-desktop org.cinnamon.desktop.default-applications.terminal schema
  is used in nemo for default emulator, since we use nemo by default this fixes nemo
  open in terminal entry without introducing another override.
- There are theming issues with Qogir when opening right-click menu in a second tab.
- Transparency is broken when hovering on other windows, showing only the wallpaper.

This also ensures a stable default for budgie-desktop-view, by using only the
executable name and not a nix store path.

ref: https://github.com/BuddiesOfBudgie/budgie-desktop-view/blob/v1.3/data/org.buddiesofbudgie.budgie-desktop-view.gschema.xml#L60
ref: https://github.com/linuxmint/cinnamon-desktop/blob/6.0.0/schemas/org.cinnamon.desktop.default-applications.gschema.xml.in#L46
ref: https://github.com/linuxmint/nemo/blob/6.0.0/src/nemo-view.c#L7193
2024-03-21 22:16:25 +08:00
Martin Weinelt
3b7d9c77b3
Merge pull request #297622 from mweinelt/kea-exporter-0.7.0
kea-exporter: 0.6.1 -> 0.7.0
2024-03-21 14:29:42 +01:00
K900
4e5b7fe664 plasma6: also install base kio5
Fixes #295814
2024-03-21 15:19:44 +03:00
github-actions[bot]
4fd286e707
Merge staging-next into staging 2024-03-21 12:01:49 +00:00
nikstur
80f60ad1f4
Merge pull request #297224 from WilliButz/repart-image/mkDerivation
nixos/repart-image: refactor to use mkDerivation instead of runCommand
2024-03-21 12:50:17 +01:00
Stig
468417b7f3
Merge pull request #296479 from marcusramberg/marcus/nimdow
nixos/nimdow: module updates
2024-03-21 12:14:56 +01:00
WilliButz
d9264d0568
nixos/repart-image: add myself as maintainer 2024-03-21 11:37:43 +01:00
WilliButz
5282cdd926
nixos/repart-image: add internal option to expose finalPartitions 2024-03-21 11:37:43 +01:00
WilliButz
d7ef2defda
nixos/repart-image: refactor to use mkDerivation
As a follow-up to https://github.com/NixOS/nixpkgs/pull/294096 this
should further improve the flexibility around building OS images with
systemd-repart:

* Previously the attribute set `compression` needed to be fully
  populated, including `algorithm` and `level` because
  `compression.enable` was evaluated by bash, after being interpolated
  as strings into the `buildCommand`. Now it's sufficient to pass
  `compression.enable = false` to the builder, e.g. in `overrideAttrs`,
  to disable the compression.
* Using mkDerivation allows for much more customization than the
  previously used `runCommand`, making use of phases and pre/post hooks.
  This is especially helpful for building multiple images from the same
  system configuration, e.g. to build an image `Y` based on a partially
  built raw image `X`,  by injecting a UKI that depends on `X` into a
  defered ESP.
* Before this change it was non-trivial to conduct further manipulations
  on the amended repart definitions. Now, the definitions that
  systemd-repart uses to build the image can be easily manipulated in
  `postPatch` or `preBuild`.

Aside from this, the build is now executed in the build directory, rather
than `$out`. This allows references to relative paths in the build
environment to be used, especially for `--definitions`, which previously
required an absolute path.
2024-03-21 11:37:43 +01:00
Doron Behar
2897be360b
Merge pull request #287966 from Guanran928/clash-meta
nixos/mihomo: init
2024-03-21 10:40:10 +02:00
Vladimír Čunát
f373ad52f1
Merge master into haskell-updates 2024-03-21 09:21:50 +01:00
Martin Weinelt
e4f6d1a618
nixos/tests/kea: test ctrl-agent via kea-exporter 2024-03-21 06:17:59 +01:00
Martin Weinelt
5b97e8d76d
nixos/tests/prometheus-exporters/kea: remove
The test framework for exporters is too limited to do sensible testing
of this exporter.
2024-03-21 06:17:59 +01:00
Martin Weinelt
c77d192eb4
prometheus-kea-exporter: 0.6.1 -> 0.7.0
https://github.com/mweinelt/kea-exporter/blob/v0.7.0/HISTORY

Updates the module to use the target name, because it now supports both
UDS as well as HTTP URLs.
2024-03-21 06:17:59 +01:00
Martin Weinelt
d702c91302
nixos/prometheus/exporters: pass utils into exporter modules
This is useful, because it provides escapeSystemdShellArgs.
2024-03-21 05:27:21 +01:00
Morgan Jones
4fb4d7a3b4
nixos/tests/armagetronad: fix test runner 2024-03-20 19:45:36 -07:00
github-actions[bot]
2015f3cc71
Merge master into haskell-updates 2024-03-21 00:13:28 +00:00
github-actions[bot]
7f8db6f00d
Merge staging-next into staging 2024-03-20 18:01:38 +00:00
github-actions[bot]
36232fff71
Merge master into staging-next 2024-03-20 18:01:02 +00:00
Sandro
5d59704211
Merge pull request #295387 from majiru/drawterm-update 2024-03-20 17:19:26 +01:00
Dmitry Bogatov
5bb92281f5 nixos/dnscache: Provide explicit group for "dnscache" user
Without this patch the module refuses to evaluate, complaining that
default "nogroup" is no longer supported.
2024-03-20 16:45:50 +01:00
Cabia Rangris
eaf6b74366
nixos/pipewire: raopOpenFirewall option
RAOP requires UDP/6001-6002 for timing
information, and won't work with apple devices if
firewall is enabled.
2024-03-20 18:32:01 +03:00
Maciej Krüger
061b88c7f4
nixos/fcitx5: fix warning about plasma6 option 2024-03-20 15:18:51 +01:00
Sandro
50b2e2a029
Merge pull request #296866 from SuperSandro2000/xserver-pinentry 2024-03-20 14:32:44 +01:00
github-actions[bot]
fbb579e773
Merge staging-next into staging 2024-03-20 12:01:43 +00:00
github-actions[bot]
90461ffe37
Merge master into staging-next 2024-03-20 12:01:15 +00:00
éclairevoyant
debb92775e nixos/starship: cleanup 2024-03-20 21:08:43 +11:00
éclairevoyant
4f9d91e276 nixos/starship: allow setting package 2024-03-20 21:08:43 +11:00
Florian Klink
40e49b40ab
Merge pull request #296949 from NixOS/mycelium_service
nixos/mycelium: init
2024-03-20 11:50:46 +02:00
nikstur
d5d1e6a4fa
Merge pull request #297227 from WilliButz/uki/expose-rendered-config
nixos/uki: add configFile option
2024-03-20 10:41:59 +01:00
Florian Klink
39ebd395cc
Merge pull request #224666 from grindhold/container_underscores
check nixos-container names for underscores
2024-03-20 11:41:34 +02:00
Doron Behar
86209dfc0d
Merge pull request #291305 from gbtb/nvtop-310 2024-03-20 09:58:40 +02:00
Pol Dellaiera
15541288f3
Merge pull request #297133 from trofi/etebase-server-fix-test
etebase-server: fix the eval on `null` `cfg.unixSocket`
2024-03-20 07:38:15 +01:00
K900
e240f8bde9 Merge remote-tracking branch 'origin/master' into staging-next 2024-03-20 09:27:30 +03:00
K900
e382906174
Merge pull request #295839 from peterhoeg/m/sddm_kwin
nixos/sddm: add support for kwin_wayland
2024-03-20 09:02:52 +03:00
Ameya Shenoy
99c0c32a49
usbguard: fix policy enums
The available policies for `InsertedDevicePolicy` and
`ImplicitPolicyTarget` differ from the defined policy enum. This change
is to prevent users from configuring incorrect policies for `usbguard`

Related `usbguard` documentation
https://usbguard.github.io/documentation/configuration.html

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2024-03-20 08:41:21 +05:30
lassulus
0f0aaa517c nixos/tests/mycelium: init 2024-03-20 03:56:59 +01:00
lassulus
b82a5ef764 nixos/mycelium: init 2024-03-20 03:56:58 +01:00
Adam Stephens
deb5be50c4
incus: move wrapper to nixos module 2024-03-19 22:48:07 -04:00
Jacob Moody
e4789ca32a drawterm: unstable-2024-02-18 -> unstable-2024-03-20 2024-03-19 20:18:57 -05:00
github-actions[bot]
05f9a72c0e
Merge master into haskell-updates 2024-03-20 00:12:21 +00:00
github-actions[bot]
ffc1886a16
Merge staging-next into staging 2024-03-20 00:02:37 +00:00