Commit graph

40029 commits

Author SHA1 Message Date
Martin Weinelt b84f4bb54d
nixos/wyoming: move into home-automation category 2024-03-29 03:04:44 +01:00
Martin Weinelt e0b4ab1a31
nixos/wyoming/satellite: init 2024-03-29 03:04:44 +01:00
Martin Weinelt eb4113b79c
nixos/homeassistant-satellite: remove in favor of wyoming-satellite
The upstream repository was archived mid december 2023.
2024-03-29 03:04:43 +01:00
github-actions[bot] d48c2529ec
Merge master into haskell-updates 2024-03-29 00:12:42 +00:00
github-actions[bot] 20c720272e
Merge master into staging-next 2024-03-29 00:02:10 +00:00
Naïm Favier 0e347b1a77
nixos/xserver: respect module order
Reimplement the `ModulePath` generation logic by only adding the
`/lib/xorg/modules` subpath for each module, in the specified order.

In particular, hardware-specific drivers are listed *before*
`xorgserver`, which fixes https://github.com/NixOS/nixpkgs/issues/299684.

This also keeps the list reproducible, as wanted by https://github.com/NixOS/nixpkgs/pull/230186.

I have confirmed that X is able to find `.so` files recursively within
the `ModulePath`, so that there is no need to include subdirectories of
`/lib/xorg/modules`. Furthermore, I don't expect there to be a need to
include directories *outside* of `/lib/xorg/modules`, as the default
`ModulePath` on standard distributions is `/usr/lib/xorg/modules`.
(see https://www.x.org/releases/current/doc/man/man5/xorg.conf.5.xhtml#heading4)
2024-03-28 23:17:52 +01:00
Bernardo Meurer 813ae91f20
Merge pull request #299755 from Ramblurr/fix/roon-server-pkg
nixos/roon-server: add package option
2024-03-28 17:52:45 -04:00
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