Commit Graph

43319 Commits

Author SHA1 Message Date
Will Fancher
f84991dc2b
Merge pull request #334288 from ElvishJerricco/systemd-initrd-fully-merge-sbin
Systemd initrd fully merge sbin
2024-08-18 22:41:53 -04:00
Gabriella Gonzalez
79e5dbb262 Restore check for container not defining nixpkgs.hostPlatform option 2024-08-18 17:00:16 -07:00
Gabriella Gonzalez
0600255046 Use host.pkgs.stdenv.hostPlatform 2024-08-18 16:49:57 -07:00
Gabriella Gonzalez
de83fcb2df containers.*.config: reuse host nixpkgs.pkgs if defined
The minimum reproduction for the problem I'm trying to solve is that
the following NixOS test with a trivial NixOS container:

```
{ inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/24.05";

    flake-utils.url = "github:numtide/flake-utils/v1.0.0";
  };

  outputs = { flake-utils, nixpkgs, self, ... }:
    flake-utils.lib.eachDefaultSystem (system: {
      checks.default = nixpkgs.legacyPackages."${system}".nixosTest {
        name = "test";

        nodes.machine.containers.tutorial.config = { };

        testScript = "";
      };
    });
}
```

… fails with the following error message:

```
error: Neither nodes.machine.nixpkgs.hostPlatform nor the legacy option nodes.machine.nixpkgs.system has been set.
You can set nodes.machine.nixpkgs.hostPlatform in hardware-configuration.nix by re-running
a recent version of nixos-generate-config.
The option nodes.machine.nixpkgs.system is still fully supported for NixOS 22.05 interoperability,
but will be deprecated in the future, so we recommend to set nodes.machine.nixpkgs.hostPlatform.
```

The root of the problem appears to be that in
`nixos/modules/virtualisation/nixos-containers.nix` there is support
for deriving the guest's `nixpkgs.hostPlatform` or
`nixpkgs.localSystem` from the corresponding host's values, but this
doesn't work if the host sets `nixpkgs.pkgs` instead of one of those
values.  In fact, this is what happens when using `pkgs.nixosTest`
(which sets `nixpkgs.pkgs` in
`pkgs/build-support/testers/default.nix`).

The solution I went with was to forward the `nixpkgs.pkgs` setting from
the host to the guest, but only if it is defined (matching the same
treatment as `nixpkgs.hostPlatform` and `nixpkgs.localSystem`.
2024-08-18 11:32:46 -07:00
Sandro
69701a3807
Merge pull request #320060 from PatrickDaG/homebox
homebox: init at 0.13.0; nixos/homebox: init
2024-08-18 16:32:43 +02:00
Sandro
c67dbda54f
Merge pull request #308700 from tie/pgbouncer-settings
nixos/pgbouncer: add services.pgbouncer.settings option
2024-08-18 16:30:17 +02:00
Masum Reza
94c30e543d
Merge pull request #335115 from SuperSandro2000/graphical-desktop
nixos/graphical-desktop: add enable option, nixos/wayland-session: use graphical-desktop option and remove implicit defaults
2024-08-18 17:20:55 +05:30
Masum Reza
3f08237ceb
Merge pull request #296607 from Yusuf-Duran/add-iio-hyprland
iio-hyprland: init at 0-unstable-2024-07-24; nixos/iio-hyprland: init module
2024-08-18 17:19:20 +05:30
Sandro
c2d5ecc504
nixos/displayManager: mention how to get a list of currently available desktop sessions (#335208) 2024-08-18 17:17:01 +05:30
Adam C. Stephens
526d11e357
Merge pull request #335366 from adamcstephens/incus/publish-squashfs
incus: publish squashfs image to hydra
2024-08-17 19:06:02 -04:00
Linus Karl
d2367c3f7e indi-full: refactor 3rdparty drivers
This splits the 3rdparty drivers into seperate
packages as recommended by upstream. This also
allows to build a indi-full equivalent with only
the needed drivers. Also add indi-full-nonfree
with all the nonfree drivers. And remove them
from indi-full.
2024-08-18 01:05:52 +02:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Adam C. Stephens
062b5b645d
Merge pull request #335441 from emilylange/nixos-forgejo-pam
forgejo,forgejo-lts: remove PAM support
2024-08-17 17:15:34 -04:00
Sandro Jäckel
4f34325b2b
nixos/wayland-session: use graphical-desktop option and remove implicit defaults 2024-08-17 23:11:37 +02:00
Sandro Jäckel
57507a521a
nixos/graphical-desktop: add enable option 2024-08-17 23:11:37 +02:00
Yusuf
228660743a
nixos/iio-hyprland: init module 2024-08-18 01:18:23 +05:30
emilylange
07641a91c9
forgejo,forgejo-lts: remove PAM support
https://forgejo.org/docs/latest/user/authentication/#pam-pluggable-authentication-module

PAM support has to be enabled at compile time and upstream considers it
opt-in.

Official upstream binaries have it disabled.

We enabled it by default because we simply inherited most of it from
Gitea when the split in nixpkgs happened.

Reasons why it had been enabled in nixpkgs for Gitea are unknown.

See 9406f240a7.

There is reason to believe not a single Forgejo instance running on
NixOS uses this feature because it literally segfaults due to our
sandboxing.
2024-08-17 21:07:23 +02:00
Sigmanificient
422d853079 liboop: drop
fix

liboop: drop
2024-08-17 21:06:45 +02:00
Masum Reza
e6db763dde
Merge pull request #335398 from JohnRTitor/hypridle-service
nixos/hypridle: switch to package provided user service file
2024-08-17 23:11:27 +05:30
John Titor
077938f18b
nixos/hypridle: switch to package provided user service file
format with nixfmt-rfc-style
2024-08-17 20:51:36 +05:30
Adam Stephens
659308a8c1
nixos/incusContainer: create hydra build product 2024-08-17 09:01:17 -04:00
Adam Stephens
9277993de4
make-squashfs: add support for generating hydra build products
left default to write the image directly to the store, but enabling hydraBuildProduct
will create $out as a directory
2024-08-17 09:00:43 -04:00
Jörg Thalheim
aa994dd296 harmonia: switch to non-deprecated SIGN_KEY_PATHS 2024-08-17 13:11:06 +02:00
Jörg Thalheim
5d500e3d51
Merge pull request #335283 from Enzime/fix/regreet
regreet: fix theming options not under GTK header
2024-08-17 12:26:35 +02:00
Michael Hoang
3ffc982bfa regreet: don't allow settings to be a path 2024-08-17 14:32:49 +10:00
Michael Hoang
5ee778d424 regreet: fix theming options not under GTK header
Fixes #335082
2024-08-17 14:29:45 +10:00
Emily
00f9b25737
Merge pull request #325813 from SamLukeYes/xonsh
xonsh: fix wrapper, 0.17.0 -> 0.18.2
2024-08-16 22:53:01 +01:00
Morgan Jones
99714ac2fc
nixos/nebula: add missing with maintainers 2024-08-16 12:13:40 -07:00
Fabián Heredia Montiel
2c94341824
Merge pull request #328532 from LeSuisse/openstack-config-no-default-root-password
openstack-config: remove hardcoded default password for the root account
2024-08-16 12:30:12 -06:00
Pol Dellaiera
835b2f8822
nixos/chromadb: init 2024-08-16 18:23:12 +02:00
Rafael Fernández López
058e8f5ef1
nvidia-podman: remove nvidia wrapper
Since version 4.1.0, podman has support for CDI, and is the
recommended way to expose GPU's for containers for podman.

More information: https://web.archive.org/web/20240729183805/https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-podman
2024-08-16 18:16:23 +02:00
abysssol
5f17f87a7f nixos/ollama: move loadModels script into a separate service
Due to the large size of models, the script can run for a long time,
which can cause timeouts, since the startup phase has a time limit.
2024-08-16 11:36:35 -04:00
Adam C. Stephens
c49d0387e0
Merge pull request #251598 from oddlama/feat-kanidm-provision
nixos/kanidm: add basic provisioning
2024-08-16 10:15:22 -04:00
Rafael Fernández López
f7b4d57421
virtualisation/docker: fix nvidia wrapper
Although CDI should be used in order to not require container runtime
wrappers anymore, fix the nvidia-container-runtime integration with
Docker for cases when Docker < 25.
2024-08-16 15:49:35 +02:00
K900
0d331a43ff
Merge pull request #335066 from K900/pipewire-limits
nixos/pipewire: install the default limits config, make group always exist
2024-08-16 16:38:20 +03:00
Franz Pletz
4bd91be1ad
Merge pull request #333462 from Luflosi/nixos-iperf3-package-option 2024-08-16 14:46:53 +02:00
oddlama
558fa6abc6
nixos/kanidm: add provisioning of groups, persons and oauth2 systems 2024-08-16 14:12:35 +02:00
superherointj
d634a501b1
Merge pull request #334630 from rorosen/k3s-1.28.12
k3s_1_28: 1.28.11+k3s2 -> 1.28.12+k3s1
2024-08-16 08:06:15 -03:00
K900
333e6672e1 nixos/pipewire: install the default limits config, make group always exist 2024-08-16 12:00:08 +03:00
Jörg Thalheim
d9e8fc4b72
Merge pull request #323785 from Mic92/zerotier
nixos/zerotierone: clean up local.conf symlinks unconditionally
2024-08-16 09:35:35 +02:00
Robert Rose
d506595e43 nixos/k3s: use jq instead of JSONpath to process test data
Although kubectl has builtin JSONpath support, it is only supported
partially and the support varies between different versions. While using
JSONpath in tests worked for some versions, it failed for others. This
contribution replaces the problematic JSONpath usages with the jq JSON
processor.
2024-08-16 08:37:15 +02:00
Peder Bergebakken Sundt
db16f389ab
Merge pull request #334508 from pbsds/fix-taskserver-1723599512
nixos/taskserver: fix test eval
2024-08-16 00:44:26 +02:00
OPNA2608
95461ff6c6 tests/ayatana-indicators: Finalise for differences in ayatana vs lomiri indicators 2024-08-15 22:10:56 +02:00
OPNA2608
712439f971 tests/ayatana-indicators: Prepare for differences in ayatana vs lomiri indicators 2024-08-15 22:10:25 +02:00
OPNA2608
cc01673c23 tests/ayatana-indicators: nixfmt, modernise 2024-08-15 22:06:15 +02:00
OPNA2608
4403f7f6c3 nixos/ayatana-indicators: Support new passthru.ayatana-indicators format 2024-08-15 20:52:04 +02:00
Jonathan Davies
a289e52ce1
apacheKafka: init 3.8.0 2024-08-15 17:28:12 +01:00
Emily
f651cf8481
Merge pull request #334726 from networkException/revert-programs-chromium-package
nixos/chromium: revert having `programs.chromium.enable` insert `pkgs.chromium` into the system closure
2024-08-15 14:22:13 +02:00
Sandro
bbbc7bcdb3
Merge pull request #331784 from SuperSandro2000/pam-motd-writeText
nixos/pam: fix writeFile no longer taking null as an argument warning
2024-08-15 09:32:42 +02:00
networkException
2c8c689cd7
Revert "nixos/chromium: Make programs.chromium.enable install chromium"
This reverts commit 93b6400ff5.

Putting chromium in the system closure by enabling the module breaks
previous expectations of module users. Previously, this would create
policy files for chromium, google-chrome and brave as chromium based
browsers.

Use cases relating to a browser other than chromium directly as well
as only using home-manager's module system to configure other aspects
of a chromium package (various use cases require overriding inputs
to the chromium derivation) were not covered by this breaking change.

More design is needed before having policy and package options coexist
properly in this module.
2024-08-15 02:26:31 +02:00
networkException
2f1a499d26
Revert "nixos/chromium: Update description for programs.chromium.enable"
This reverts commit 80656f196d.

The main change to be reverted depends on this change, see the following
commit.
2024-08-15 02:25:31 +02:00
a-kenji
0f13d8a4ba nixos/unbound: fix typos in description and comment 2024-08-14 23:53:58 +02:00
Thiago Kenji Okada
33c968004c
Merge pull request #333678 from thiagokokada/sx-add-as-xsession
sx: add desktop file and providedSessions
2024-08-14 21:29:39 +01:00
superherointj
53b0c8af91
Merge pull request #334697 from rorosen/k3s-test-timeout
nixos/k3s: increase timeout in tests
2024-08-14 17:05:32 -03:00
Doron Behar
6bfd71d2b5
Merge pull request #318892 from doronbehar/pkg/taskwarrior3
nixosTests.taskchampion-sync-server: init
2024-08-14 19:43:33 +00:00
Robert Rose
69e2e82ba0 nixos/k3s: increase timeout in tests
Increase the timout for the import of container images in the `airgap-images`
test from 60s to 120s to counter flaky tests.
2024-08-14 21:01:19 +02:00
Maximilian Bosch
d86f963742
Merge pull request #329657 from flyingcircusio/mailpit-module
nixos/mailpit: init
2024-08-14 17:37:54 +02:00
Maximilian Bosch
f07601ce07
nixos/mailpit: fix defaults for listen/smtp 2024-08-14 16:12:57 +02:00
Maximilian Bosch
d2fca016fe
Merge pull request #331717 from alyssais/linux-6.9-drop
linux_6_8,linux_6_9: remove
2024-08-14 16:04:30 +02:00
OPNA2608
8c1cb41408 nixos/lomiri: Add gallery app 2024-08-14 15:54:36 +02:00
OPNA2608
cb0faa488a tests/lomiri-gallery-app: init 2024-08-14 15:26:08 +02:00
Martin Weinelt
9ccfa87721
Merge pull request #332764 from NixOS/staging-next
staging-next 2024-08-06
2024-08-14 13:33:28 +02:00
Emily
57d0d4a8f3
Merge pull request #334526 from ElvishJerricco/revert-boot-counting-again-sadface
systemd-boot: Revert boot counting again
2024-08-14 12:19:55 +01:00
Pol Dellaiera
302b8650e5
Merge pull request #334371 from nixupp/patch-1
nixos/openwebui: add link to description
2024-08-14 12:02:02 +02:00
Maximilian Bosch
15dab820a6
nixos/mailpit: allow multiple instances
Now it's possible to start multiple mailpit instances - for e.g.
multiple testing environments - on the same machine:

    {
      services.mailpit.instances = {
        dev = { /* ... */ };
        staging = { /* ... */ };
      };
    }

The simplest way to start a single instance is by declaring

    services.mailpit.instances.default = {};
2024-08-14 11:33:52 +02:00
Maximilian Bosch
a2437d8075
nixos/mailpit: init
Simple module to configure a systemd service for mailpit.
2024-08-14 11:33:52 +02:00
Eduard Bachmakov
b33bf6b99a nixos/systemd/initrd: Fix emergencyAccess to work with null.
Implementation is now compatible with the option's .type already defined.

This allows us to pass `config.users.users.<user>.hashedPassword` even if this is null (the default).

Before:
true  => access
false => no access
hash  => access via password
null  => eval error

After:
true  => access
false => no access
hash  => access via password
null  => no access
2024-08-14 10:26:15 +02:00
github-actions[bot]
261f1edcbd
Merge master into staging-next 2024-08-14 06:01:07 +00:00
Yarny0
cdd7496ff3 foomatic-db: unstable-2024-05-04 -> unstable-2024-08-13
This update renames Utax ppd files to avoid spaces in filenames.
Since this is an incompatible change,
we also add a hint in the release notes.
2024-08-14 07:30:17 +02:00
Doron Behar
e58e0e1d95 doc: mention Taskwarrior 3 in taskserver module docs & in release notes 2024-08-14 08:06:11 +03:00
Doron Behar
2c40948c73 nixosTests.taskchampion-sync-server: init 2024-08-14 08:06:11 +03:00
Doron Behar
ecf4caea3f nixos/taskchampion-sync-server: init
Co-authored-by: Mohamed Laradji <mlaradji@proton.me>
2024-08-14 08:06:11 +03:00
Doron Behar
54698e8db6 taskwarrior2: rename from taskwarrior, with a warning alias
Also remove an outdated link in `taskserver/default.md`.
2024-08-14 08:06:10 +03:00
Will Fancher
0637303ca8 Revert "Merge pull request #330017 from Mic92/boot-counting"
This reverts commit 3d3c0f4d34, reversing
changes made to 47f7e25a77.
2024-08-13 23:11:18 -04:00
Nick Cao
12f650234b
Merge pull request #334257 from Dan-Theriault/miniflux-no-admin-required
nixos/miniflux: make admin provisioning optional
2024-08-13 21:54:34 -04:00
Peder Bergebakken Sundt
024600b390 nixos/taskserver: fix test eval
Error was:

```
error:
Failed assertions:
- Specialisation names can only contain alphanumeric characters and underscores
Invalid specialisation names: manual-config
```

Using nix (Lix, like Nix) 2.90.0
2024-08-14 03:40:36 +02:00
Will Fancher
b78bd2f912 Revert "Merge pull request #333952 from r-vdp/specialisation-name-regex"
This reverts commit fc35704bc8, reversing
changes made to c67d90d517.
2024-08-13 21:33:15 -04:00
github-actions[bot]
ae6040d6a6
Merge master into staging-next 2024-08-14 00:02:32 +00:00
Dan Theriault
f6788b6165 nixos/miniflux: make admin provisioning optional
Miniflux supports provisioning users via SSO, which renders admin
accounts unnecessary for some use-cases. This change retains the
existing default, but makes it easier to disable admin provisioning.
2024-08-13 18:56:16 -04:00
Someone
f9a85112f5
Merge pull request #334340 from eljamm/nvidia-open
nixos/nvidia: fix CUDA for open driver
2024-08-13 19:35:46 +00:00
Pol Dellaiera
a0a63aa8d4
Merge pull request #332593 from mzacho/master
nixos/modules/services/mail: add protonmail-bridge service
2024-08-13 21:08:24 +02:00
Pol Dellaiera
c556059765
Merge pull request #334344 from truh/docs/oci-containers-docs-urls
nixos/oci-containers: replace broken links to docker docs
2024-08-13 20:44:55 +02:00
github-actions[bot]
35c1846996
Merge master into staging-next 2024-08-13 18:01:28 +00:00
Philip Taron
04a8c1e764
Merge pull request #328030 from Wulfsta/swap-status 2024-08-13 07:05:46 -07:00
Adam C. Stephens
7e95d0361c
Merge pull request #333730 from adamcstephens/incus/from-lxd
nixos/incus: add incus-only vm and container images
2024-08-13 08:39:26 -04:00
nixupp
876cfeddfc
nixos/openwebui: add link to description 2024-08-13 12:18:54 +00:00
Martin Weinelt
0906206d42
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/top-level/python-packages.nix
2024-08-13 13:21:03 +02:00
WilliButz
8dd369f524
nixos/systemd-tmpfiles: add initrd support
This adds support for declaring tmpfiles rules exclusively for the
systemd initrd. Configuration is possible through the new option
`boot.initrd.systemd.tmpfiles.settings` that shares the same interface as
`systemd.tmpfiles.settings`.

I did intentionally not replicate the `rules` interface here, given that
the settings attribute set is more versatile than the list of strings
used for `rules`. This should also make it unnecessary to implement the
workaround from 1a68e21d47 again.

A self-contained `tmpfiles.d` directory is generated from the new initrd
settings and it is added to the initrd as a content path at
`/etc/tmpfiles.d`.

The stage-1 `systemd-tmpfiles-setup.service` is now altered to no longer
operate under the `/sysroot` prefix, because the `/sysroot` hierarchy
cannot be expected to be available when the default upstream service is
started.

To handle files under `/sysroot` a slightly altered version of the
upstream default service is introduced. This new unit
`systemd-tmpfiles-setup-sysroot.service` operates only under the
`/sysroot` prefix and it is ordered between `initrd-fs.target` and the
nixos activation.

Config related to tmpfiles was moved from initrd.nix to tmpfiles.nix.
2024-08-13 13:02:21 +02:00
eljamm
4548c39286
nixos/nvidia: fix CUDA for open driver
For the open driver, the `nvidia-uvm` module does not auto-load after
`nvidia`, which makes CUDA not work.

In this case, we need to add it to `boot.kernelModules` for it to work
again.
2024-08-13 11:56:10 +01:00
Jakob Klepp
0b8954f8d2 nixos/oci-containers: replace broken links to docker docs
Old links in descriptions now lead to 404 pages.
2024-08-13 11:49:08 +02:00
Sarah Brofeldt
ba99ba8ea7
Merge pull request #327914 from 0z13/nvidia-container-toolkit-device-name
nixos/nvidia-container-toolkit: add device-name-strategy option
2024-08-13 10:41:45 +02:00
superherointj
3a158316b8
Merge pull request #332183 from codedownio/k3s-containerd-config
nixos/k3s: add containerdConfigTemplate option
2024-08-13 04:03:59 -03:00
Kerstin Humm
13c96978c3 nixos/weblate: init module and test
Co-authored-by: Taeer Bar-Yam <Radvendii@users.noreply.github.com>
2024-08-13 08:44:54 +02:00
Will Fancher
208e953381 systemd-stage-1: Fully merge /bin and /sbin
In #327506, we stopped using `/sbin` in the `pathsToLink` of `initrdBinEnv`. This inadvertantly stopped including the `sbin` directory of the `initrdBin` packages, which meant that things like `mdadm`'s udev rules, which referred to binaries by their `sbin` paths, stopped working.

The purpose of #327506 was to fix the fact that `mount` was not calling mount helpers like `mount.ext4` unless they happened to be in `/sbin`. But this raised some questions for me, because I thought we set `managerEnvironment.PATH` to help util-linux find helpers for both `mount` and `fsck`. So I decided to look at how this works in stage 2 to figure it out, and it's a little cursed.

---

What I already knew is that we have [this](696a4e3758/nixos/modules/system/boot/systemd.nix (L624-L625))

```
        # util-linux is needed for the main fsck utility wrapping the fs-specific ones
        PATH = lib.makeBinPath (config.system.fsPackages ++ [cfg.package.util-linux]);
```

And I thought this was how `mount` finds the mount helpers. But if that were true, then `mount` should be finding helpers in stage 1 because of [this](696a4e3758/nixos/modules/system/boot/systemd/initrd.nix (L411))

```
      managerEnvironment.PATH = "/bin";
```

Turns out, `mount` _actually_ finds helpers with [this configure flag](696a4e3758/pkgs/os-specific/linux/util-linux/default.nix (L59))

```
    "--enable-fs-paths-default=/run/wrappers/bin:/run/current-system/sw/bin:/sbin"
```

Ok... so then why do we need the PATH? Because `fsck` has [this](a75c7a102e/disk-utils/fsck.c (L1659))

```
	fsck_path = xstrdup(path && *path ? path : FSCK_DEFAULT_PATH);
```

(`path` is `getenv("PATH")`)

So, tl;dr, `mount` and `fsck` have completely unrelated search paths for their helper programs

For `mount`, we have to use a configure flag to point to `/run/current-system`, and for `fsck` we can just set PATH

---

So, for systemd stage 1, we *do* want to include packages' `sbin` paths, because of the `mdadm` problem. But for `mount`, we need helpers to be on the search path, and right now that means putting it somewhere in `/run/wrappers/bin:/run/current-system/sw/bin:/sbin`.
2024-08-12 23:35:01 -04:00
Will Fancher
d74d182991 Revert "systemd-stage-1: Use common bin for /sbin"
This reverts commit b4b4751e97.
2024-08-12 23:35:01 -04:00
github-actions[bot]
0a1ac11214
Merge master into staging-next 2024-08-13 00:02:23 +00:00
Will Fancher
bcd1d9cf54
Merge pull request #312755 from tomfitzhenry/systemd-dhcp108
nixos/networkd: allow IPv6OnlyPreferredSec in networkd.conf
2024-08-12 19:19:34 -04:00
Tom McLaughlin
81c0783c0e nixos/k3s: add containerdConfigTemplate option 2024-08-12 14:58:18 -07:00
github-actions[bot]
62f43c3094
Merge master into staging-next 2024-08-12 18:02:11 +00:00
Philip Taron
c44e170e3f
nixos/proxmox-lxc: lib.mdDoc is deprecated 2024-08-12 08:02:57 -07:00
Philip Taron
5c21c35835
nixos/borgmatic: lib.mdDoc is deprecated 2024-08-12 08:02:10 -07:00
Florian
20d3d501ad
Merge pull request #290913 from flandweber/borgmatic-improvement
nixos/borgmatic: added test
2024-08-12 15:37:12 +02:00
K900
0ed621ef5d
Merge pull request #334121 from r-vdp/specialisation-fix-acme
acme: fix test
2024-08-12 16:01:16 +03:00
Sandro
e32c796ff7
Merge pull request #332541 from SuperSandro2000/mailman-relay-assert
nixos/mailman: allow setting relay domains with services.postfix.conf…
2024-08-12 14:37:53 +02:00
r-vdp
f09a62f122
acme: fix test after fc35704bc8 2024-08-12 14:04:09 +02:00
github-actions[bot]
8674a36b01
Merge master into staging-next 2024-08-12 12:01:27 +00:00
Florian Klink
fc35704bc8
Merge pull request #333952 from r-vdp/specialisation-name-regex
specialisation: limit the allowed characters in specialisation names
2024-08-12 13:30:54 +03:00
github-actions[bot]
dc79586bdf
Merge master into staging-next 2024-08-12 00:02:44 +00:00
Gavin John
80656f196d
nixos/chromium: Update description for programs.chromium.enable 2024-08-11 19:37:51 -04:00
Jan Tojnar
54b056a950 nixos/metacity: Avoid top-level with 2024-08-12 00:29:13 +02:00
Jan Tojnar
f192bd9e5c metacity: Move from gnome scope to top-level 2024-08-12 00:29:13 +02:00
Jan Tojnar
64438363f5 gnome-shell-extensions: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
Jan Tojnar
a0d15e0d04 gdm: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
Jan Tojnar
db9ae25dca gnome-initial-setup: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
Jan Tojnar
d364738c76 quadrapassel: Move from gnome scope to top-level 2024-08-12 00:29:10 +02:00
Jan Tojnar
1f3f0c2e4b tali: Move from gnome scope to top-level 2024-08-12 00:29:10 +02:00
Jan Tojnar
077dd2b94c swell-foop: Move from gnome scope to top-level 2024-08-12 00:29:08 +02:00
Jan Tojnar
5db162af3a lightsoff: Move from gnome scope to top-level 2024-08-12 00:29:07 +02:00
Jan Tojnar
31a54e038c iagno: Move from gnome scope to top-level 2024-08-12 00:29:07 +02:00
Jan Tojnar
8c4f0fc73e hitori: Move from gnome scope to top-level 2024-08-12 00:29:06 +02:00
Jan Tojnar
e0795cb2de gnome-tetravex: Move from gnome scope to top-level 2024-08-12 00:29:06 +02:00
Jan Tojnar
f26fb6acad gnome-taquin: Move from gnome scope to top-level 2024-08-12 00:29:06 +02:00
Jan Tojnar
d988332cd4 gnome-sudoku: Move from gnome scope to top-level 2024-08-12 00:29:05 +02:00
Jan Tojnar
82a1d2ed24 gnome-robots: Move from gnome scope to top-level 2024-08-12 00:29:05 +02:00
Jan Tojnar
b76db173df gnome-nibbles: Move from gnome scope to top-level 2024-08-12 00:29:04 +02:00
Jan Tojnar
3811546639 gnome-mines: Move from gnome scope to top-level 2024-08-12 00:29:04 +02:00
Jan Tojnar
828635c725 gnome-mahjongg: Move from gnome scope to top-level 2024-08-12 00:29:04 +02:00
Jan Tojnar
b4e480f919 gnome-klotski: Move from gnome scope to top-level 2024-08-12 00:29:03 +02:00
Jan Tojnar
fa58a27b35 gnome-chess: Move from gnome scope to top-level 2024-08-12 00:29:03 +02:00
Jan Tojnar
076fe09eeb four-in-a-row: Move from gnome scope to top-level 2024-08-12 00:29:02 +02:00
Jan Tojnar
31b95b8251 five-or-more: Move from gnome scope to top-level 2024-08-12 00:29:02 +02:00
Jan Tojnar
fcd5e77e53 atomix: Move from gnome scope to top-level 2024-08-12 00:29:02 +02:00
Jan Tojnar
659c2ac87e aisleriot: Move from gnome scope to top-level 2024-08-12 00:29:01 +02:00
Jan Tojnar
18859a6bad gnome-remote-desktop: Move from gnome scope to top-level 2024-08-12 00:29:01 +02:00
Jan Tojnar
967bb64c16 gnome-software: Move from gnome scope to top-level 2024-08-12 00:29:00 +02:00
Jan Tojnar
138941d672 gnome-color-manager: Move from gnome scope to top-level 2024-08-12 00:28:59 +02:00
Jan Tojnar
6e8760f7f7 gnome-backgrounds: Move from gnome scope to top-level 2024-08-12 00:28:58 +02:00
Jan Tojnar
572d0e4403 gnome-contacts: Move from gnome scope to top-level 2024-08-12 00:28:57 +02:00
Jan Tojnar
bb4d62ac72 gnome-weather: Move from gnome scope to top-level 2024-08-12 00:28:54 +02:00
r-vdp
d38257b024
systemd-boot-builder: allow underscores in the specialisation name 2024-08-11 23:33:18 +02:00
Martin Weinelt
038dfb6969
Merge remote-tracking branch 'origin/master' into staging-next 2024-08-11 21:20:35 +02:00
Pol Dellaiera
71daf1a037
Merge pull request #333643 from eduarrrd/initrd-ids
nixos/systemd/initrd: Set /etc/hostname in the initrd.
2024-08-11 20:32:20 +02:00
K900
12aa5ec0a9
Merge pull request #333947 from timschumi/rpi3-sd-dtbs
sd-image-aarch64: add dtbs for the bcm2710 raspberries
2024-08-11 21:29:45 +03:00
github-actions[bot]
a473a12c7d
Merge master into staging-next 2024-08-11 18:01:11 +00:00
r-vdp
57a30e4cbd
specialisation: limit the allowed characters in specialisation names
Since the systemd boot counting PR was merged, dashes in specialisation
names cause issues when installing the boot loader entries, since dashes
are also used as separator for the different components of the file name
of the boot loader entries on disk.

The assertion avoids this footgun which is pretty annoying to recover
from.
2024-08-11 19:07:44 +02:00
Pol Dellaiera
ea41e82c90
Merge pull request #324831 from drupol/php/bump/july-2024
php84: init at 8.4.0alpha1
2024-08-11 19:01:03 +02:00
Jan Tojnar
9ec24b9c32 gnome-music: Move from gnome scope to top-level 2024-08-11 18:53:26 +02:00
Jan Tojnar
a6cc36c235 gnome-maps: Move from gnome scope to top-level 2024-08-11 18:53:26 +02:00
Jan Tojnar
2d62b2f940 gnome-logs: Move from gnome scope to top-level 2024-08-11 18:53:25 +02:00
Jan Tojnar
dcfb124855 gnome-clocks: Move from gnome scope to top-level 2024-08-11 18:53:25 +02:00
Jan Tojnar
c9550b704d gnome-characters: Move from gnome scope to top-level 2024-08-11 18:53:25 +02:00
Jan Tojnar
16b5886034 gnome-boxes: Move from gnome scope to top-level 2024-08-11 18:53:25 +02:00
Tim Schumacher
794d005bdd sd-image-aarch64: add dtbs for the bcm2710 raspberries
This appears to cover the BCM2836, BCM2837 and BCM2837B0 families of
devices.
2024-08-11 18:39:15 +02:00
ettom
75682f11c6 nixos/snapserver: Fix per-stream sampleFormat/codec opts 2024-08-11 18:32:06 +02:00
Jan Tojnar
ef660a9c86 gnome.gnome-online-miners: Remove
It is abandoned upstream, it is mostly broken and has been removed from GNOME:
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1748
2024-08-11 18:20:32 +02:00
Florian
1cc84c4999
Merge pull request #332162 from imlonghao/borgmatic/default-value
nixos/borgmatic: change the default value
2024-08-11 15:52:24 +02:00
Martin Weinelt
182792a514 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/laundrify-aio/default.nix
2024-08-11 13:56:09 +02:00
Adam C. Stephens
0536436018
Merge pull request #316466 from uninsane/rebrand-trust-dns
hickory-dns: rename from trust-dns
2024-08-11 07:35:03 -04:00
Pol Dellaiera
f5c25500e1 php84: init at 8.4.0alpha4
https://github.com/php/php-src/blob/php-8.4.0alpha4/NEWS

Announcements:

- alpha1 https://www.php.net/archive/2024.php#2024-07-05-1
  - imap and pspell moved to PECL
- alpha3 https://www.php.net/archive/2024.php#2024-07-18-1
- alpha4 https://www.php.net/archive/2024.php#2024-08-01-3

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2024-08-11 12:12:49 +02:00
Martin Zacho
45b7c17ba5
maintainers: add mzacho 2024-08-11 12:09:16 +02:00
Martin Zacho
91e1c5349e
nixos/modules/services/mail: add protonmail-bridge 2024-08-11 12:09:09 +02:00
Colin
f9df9508f4 hickory-dns: rename from trust-dns 2024-08-11 07:59:32 +00:00
Atemu
d6150339fc nixos/gdm: refactor file-global with 2024-08-11 09:28:25 +02:00
Martin Weinelt
0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Pol Dellaiera
16fbb3a87f
Merge pull request #333763 from ghpzin/nixosTests.quake3/fix-build
nixosTests.quake3: fix build timeout
2024-08-11 00:57:11 +02:00
Thiago Kenji Okada
2c43dd5d82 nixos/tests/sx: init 2024-08-10 20:42:25 +01:00
ghpzin
5f6bcaa60a
nixosTests.quake3: fix build timeout 2024-08-10 22:17:34 +03:00
Thiago Kenji Okada
b6144020d1 nixos/sx: add thiagokokada as maintainer 2024-08-10 19:45:08 +01:00
Thiago Kenji Okada
187a07a96e nixos/sx: add addAsSession option 2024-08-10 19:45:07 +01:00
Thiago Kenji Okada
6a18ff9098 nixos/sx: add package option 2024-08-10 19:45:07 +01:00
Thiago Kenji Okada
b01dbc6e72 nixos/sx: nixpkgs-rfc-style formatting and remove top-level with lib 2024-08-10 19:45:07 +01:00
github-actions[bot]
45080a9559
Merge master into staging-next 2024-08-10 18:01:08 +00:00
Adam Stephens
ac18c4d1e9
treewide: remove lxc team from lxd packages and modules
LXD is not under the LXC project any longer
2024-08-10 13:23:38 -04:00
Adam Stephens
094f2b6c9d
nixos/incus: add incus-only vm and container images 2024-08-10 13:23:36 -04:00
Bruno BELANYI
327996d146
Merge pull request #331029 from litchipi/mealie_fixup_backup 2024-08-10 17:13:32 +01:00
Adam Stephens
293c17926d
nixos/incus-agent: init 2024-08-10 12:08:33 -04:00
Litchi Pi
0ec7dd5011 fix: replace relative paths in sources with nix store paths
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
2024-08-10 16:23:27 +02:00
Someone
a3a5fb4bbc
Merge pull request #332437 from ShamrockLee/singularity-tools-fixes
singularity-tools: miscellaneous fixes
2024-08-10 13:44:11 +00:00
Eduard Bachmakov
7cc66df3ec nixos/systemd/initrd: Set /etc/hostname in the initrd.
With the the Systemd-based initrd, systemd-journald is doing the logging.
One of Journald's Trusted Journal Fields is `_HOSTNAME` (systemd.journal-fields(7)).
Without explicitly setting the hostname via this file or the kernel cmdline, `localhost` is used and captured in the journal.
As a result, a boot's log references multiple hostnames.
With centralized log collection this breaks filtering (more so when logs from multiple Systemd-based initrds are streaming in simultaneously.

Fixes #318907.
2024-08-10 11:16:25 +02:00
github-actions[bot]
68894e5504
Merge master into staging-next 2024-08-10 00:02:11 +00:00
Rob Sears
bdcd19eff5
package reference was removed in 03d57d7 (#333504) 2024-08-09 21:42:42 +02:00
github-actions[bot]
03e2e79ded
Merge master into staging-next 2024-08-09 18:01:11 +00:00
Sandro
03d57d7420
Merge pull request #332806 from isabelroses/fix/wpa_supplicant 2024-08-09 18:19:56 +02:00
Donovan Glover
0c4a828b0d
Merge pull request #332061 from emilazy/push-lyoruqmmrqzx
hydron: drop
2024-08-09 15:40:54 +00:00
Cosima Neidahl
5244f79d35
Merge pull request #332220 from OPNA2608/update/lomiri/OTA-5
lomiri.*: OTA-5
2024-08-09 17:37:39 +02:00
Luflosi
d80d811a6f
nixos/iperf3: add package option 2024-08-09 16:01:01 +02:00
Sandro Jäckel
96790120df
nixos/pam: fix writeFile no longer taking null as an argument warning
> evaluation warning: pkgs.writeText "motd": The second argument should be a string, but it's a null instead, which is deprecated. Use `toString` to convert the value to a string first.
2024-08-09 14:20:47 +02:00
Sandro
ac1702d768
Merge pull request #332757 from errnoh/goxlr-fix-launcher 2024-08-09 14:17:31 +02:00
github-actions[bot]
7b86eb63e7
Merge master into staging-next 2024-08-09 12:01:12 +00:00
Yueh-Shun Li
a1318915d3 singularity-tools: deprecate build helpers mkLayer and shellScript
Deprecate singularity-tools.mkLayer and singularity-tools.shellScript,
for they are no longer related to image building.

Use writers.writeBash instead of singularity-tools.shellScript.
2024-08-09 09:15:52 +00:00
Yueh-Shun Li
d3692ddf54 singularity-tools: drop override argument storeDir 2024-08-09 09:09:52 +00:00
Rick van Schijndel
8c6460bb75
Merge pull request #333317 from bjornfor/nixos-mosquitto-fix-option-default
nixos/mosquitto: fix "listeners" option default
2024-08-09 08:29:15 +02:00
Rick van Schijndel
0a21feb643
Merge pull request #327842 from cafkafk/kubernetes-feature-gate-refactor
nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates
2024-08-09 08:24:47 +02:00
Martin Weinelt
1e25330d41
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/libraries/SDL2/default.nix
2024-08-09 02:18:56 +02:00
Bjørn Forsman
4265f4354c nixos/mosquitto: fix "listeners" option default
The option type is listOf, so the default should be an empty list, not
empty attrset.
2024-08-08 23:59:36 +02:00
Pol Dellaiera
b6132318aa
Merge pull request #333240 from Pandapip1/why-tf-didnt-chromium-enable-install-chrome
nixos/chromium: Make programs.chromium.enable install chromium
2024-08-08 22:55:56 +02:00
Patrick
ea4107aba0
nixosTest.homebox: init 2024-08-08 20:01:50 +02:00
Patrick
f8639ea08d
nixos/homebox: init 2024-08-08 20:01:46 +02:00
github-actions[bot]
d3ef01201e
Merge master into staging-next 2024-08-08 18:01:35 +00:00
OPNA2608
39ca1bebb4 tests/lomiri: Try to fix polkit password entry on ARM
Hopefully not just a placebo, but it worked on my machine.
2024-08-08 19:59:47 +02:00
Pogobanane
8ccab48f1c gitlab-shell: rename bin/{install, check} to gitlab-shell-{install, check} 2024-08-08 17:41:20 +02:00
Sandro Jäckel
3e8666bce9 nixos/redis: remove outdated info in enable option
Thanks for the heads up @poperigby !
2024-08-08 17:25:16 +02:00
Gavin John
93b6400ff5
nixos/chromium: Make programs.chromium.enable install chromium 2024-08-08 16:15:14 +01:00
OPNA2608
fa5d67862c tests/lomiri: Start splitting into multiple sub-tests
Because ARM hardware is starting to have serious issues with completing everything, due to

- A seemingly harmless Lomiri crash & restart early on eating up some time (adding more RAM seemed to have helped with that?), and
- Every OCR usually taking multiple minutes to complete

So start splitting them up into parts

- greeter, for testing just the greeter
- desktop, for general app stuff
- desktop-ayatana-indicators, for checking indicators (OCR-heavy & especially slow)

Currently passing on my hardware, but might need to be split up more in the future.
2024-08-08 17:10:13 +02:00
OPNA2608
9c429cbc28 tests/lomiri: Prepare for splitting 2024-08-08 17:10:13 +02:00
OPNA2608
c384f677ea tests/lomiri: nixfmt 2024-08-08 17:10:12 +02:00
OPNA2608
06013bc2c7 tests/lomiri: Fix polkit agent test
We're starting to get stuck in OCR of the polkit pop-up.

Just assume that it shows up, send password, and expect the pkexec'd command to work.
2024-08-08 17:10:12 +02:00
OPNA2608
ce6dff1fdd nixos/ayatana-indicators: nixfmt 2024-08-08 17:10:12 +02:00
OPNA2608
25625d78e4 nixos/ayatana-indicators: Add systemd target for Lomiri
Lomiri now uses a separate systemd user target for all indicators that should start under Lomiri, because some Ayatana-like indicators do not make sense on non-Lomiri desktops.

Probably temporary, as we should instead encode this data from every indicator's service file into some passthru attribute.
2024-08-08 17:10:12 +02:00
Erno Hopearuoho
eb8268e6cb goxlr-utility: 1.1.1 -> 1.1.1-unstable-2024-08-06
fixes #331319 where user expects xdg desktop entry to continue work as a launcher
hopefully also helps with #332957
2024-08-08 14:20:38 +03:00
Florian Klink
bccb2f7c84 buildkite-agent: 3.76.2 -> 3.77.0
We can also drop the workaround included in the bump to 3.76.1, as
upstream reverted that behavorial change.
2024-08-08 13:24:15 +03:00
github-actions[bot]
4f6f7d0791
Merge master into staging-next 2024-08-08 10:12:08 +00:00
nikstur
fa12935a32
Merge pull request #333006 from nikstur/static-mtab
nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
2024-08-08 12:00:07 +02:00
Ivan Trubach
63caf38e33 nixos/prometheus.exporters.pgbouncer: fix escaping connectionStringFile in shell arguments 2024-08-08 05:54:45 +03:00
Ivan Trubach
6008ed89f6 nixos/prometheus.exporters.pgbouncer: do not assume that pgbouncer runs on localhost
PgBouncer instance running on localhost may not be the on being
monitored in connectionString. Remove checks that forbid valid
configuration from being used and instead document requirements for
PgBouncer configuration when used with the exporter.
2024-08-08 05:54:45 +03:00
Ivan Trubach
bfb9d1825d nixos/pgbouncer: add services.pgbouncer.settings option
This change adds services.pgbouncer.settings option as per [RFC 0042]
and deprecates other options that were previously used to generate
configuration file.

In addition to that, we also place the configuration file under
environment.etc to allow reloading configuration without service
restart.

[RFC 0042]: https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
2024-08-08 05:54:26 +03:00
github-actions[bot]
0bc8d4924e
Merge master into staging-next 2024-08-07 18:01:07 +00:00
nikstur
9e720a5881 nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
This enables an immutable /etc via `system.etc.overlay.mutable = false`.
2024-08-07 16:12:37 +02:00
Johann Wagner
d1d58d4141 nixos/tests/librenms: Adding db seed to have admin role 2024-08-07 15:18:29 +02:00
github-actions[bot]
addc823ceb
Merge master into staging-next 2024-08-07 12:01:21 +00:00
Sam Grimee
b5d6de74ed nixos/librenms: fix lnms wrapper to ensure run by correct user
Complementary to the fix for #322344
2024-08-07 11:32:04 +02:00
Sam Grimee
4397a6d0a6 nixos/librenms: fix artisan wrapper
Fixes how the librenms-artisan wrapper passes arguments to allow invocations with multiple complex parameters to work.
2024-08-07 11:32:04 +02:00
Sam Grimee
dc6c6e42e4 nixos/librenms: add socket auth for mysql
This allows librenms to use socket authentication to the mysql package out of the box if installed under
the same username, avoiding complex DB password initialization steps.
2024-08-07 11:32:04 +02:00
Johann Wagner
b18f49a472
nixos/tests/librenms: Using services.snmpd module for tests to fix test timeouts (#332925) 2024-08-07 10:19:40 +02:00
K900
2cd35e2b45 nixos/vaultwarden: fix eval 2024-08-07 09:42:01 +03:00
github-actions[bot]
e80257fbed
Merge master into staging-next 2024-08-07 00:02:22 +00:00
isabel
78a5508605
nixos/wpa_supplicant: don't use removed wpa_supplicant_ro_ssids 2024-08-06 20:33:23 +01:00
Thiago Kenji Okada
cb91750451
Merge pull request #297434 from Vonfry/init-ly-module
add nixos/ly module and package update
2024-08-06 19:32:22 +01:00
github-actions[bot]
5ca6720152
Merge master into staging-next 2024-08-06 18:01:00 +00:00
Masum Reza
d1cde1b920
nixos/ananicy: fix typo (#332771) 2024-08-06 23:07:39 +05:30
Franz Pletz
481d7272d1
Merge pull request #201202 from m-bdf/sdboot-infinite-timeout 2024-08-06 16:25:25 +02:00
Sandro
31a02bb482
Merge pull request #332554 from SuperSandro2000/postfix-config-int 2024-08-06 14:17:10 +02:00
Franz Pletz
9854339a8f
Merge pull request #327913 from eclairevoyant/wl-enable-xdg-icons 2024-08-06 14:06:43 +02:00
Sandro
5d43833452
Merge pull request #325861 from Scrumplex/nixos/vaultwarden/fix-backup-24.11 2024-08-06 14:02:56 +02:00
github-actions[bot]
6c87856002
Merge staging-next into staging 2024-08-06 12:01:45 +00:00
Franz Pletz
97ebf11501
Merge pull request #319422 from jmbaur/systemd-boot-devicetree 2024-08-06 13:39:29 +02:00
Fea
0c9cb0041b nixos/misskey: init 2024-08-06 12:24:15 +02:00
Sandro
b67ad15b55
Merge pull request #318635 from SuperSandro2000/nix-trusted-user 2024-08-06 11:40:00 +02:00
github-actions[bot]
eddd97e1fd
Merge staging-next into staging 2024-08-06 06:01:44 +00:00
Florian
b929a6c31d
Merge pull request #330840 from erictapen/gollum
gollum: 5.3.3 -> 6.0.1
2024-08-06 07:27:50 +02:00
éclairevoyant
3ec1eb4f2c
nixos/plasma5: enable xdg.icons 2024-08-06 00:09:46 -04:00
éclairevoyant
761a8023c4
nixos/plasma6: enable xdg.icons 2024-08-06 00:09:46 -04:00
éclairevoyant
28f1933286
nixos/wayland-session: enable xdg.icons 2024-08-06 00:09:46 -04:00
éclairevoyant
100d5e4c17
nixos/wayfire: enable xdg.icons 2024-08-06 00:09:44 -04:00
éclairevoyant
e4582da985
nixos/miriway: enable xdg.icons 2024-08-06 00:08:29 -04:00
Anna Aurora
dfd120537d
nixos/meme-bingo-web: fixed documentation, service description and did further hardening 2024-08-06 03:14:22 +02:00
Sandro Jäckel
2862350f61
nixos/postfix: allow int in config
eg. unknown_local_recipient_reject_code can be set to 550 which toString
can stringify
2024-08-05 21:18:40 +02:00
Sandro Jäckel
0bf368c8ac
nixos/mailman: allow setting relay domains with services.postfix.config.relay_domains 2024-08-05 21:15:28 +02:00
github-actions[bot]
cf88251824
Merge staging-next into staging 2024-08-05 18:01:40 +00:00
Masum Reza
0a7eaa55cc
Merge pull request #331722 from JohnRTitor/ananicy-cpp
nixos/ananicy: disable ananicy-cpp's BPF on hardened kernels, cleanup
2024-08-05 22:55:31 +05:30