0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 16:40:32 +03:00
Commit graph

46433 commits

Author SHA1 Message Date
Arian van Putten
defd7d0255 services/journald: introduce audit option
We default this option to null ; which is different
from upstream which defaults this to true.

Defaulting this to true leads to log-spam in /dev/kmesg
and thus in our opinion is a bad default https://github.com/systemd/systemd/issues/15324

(cherry picked from commit ff78e34e0b)
2025-02-11 21:33:43 +00:00
Arian van Putten
ed1f15c747 services/journald: re-enable systemd-journald-audit.socket
This was broken due to https://github.com/systemd/systemd/pull/25687
but we never noticed.

(cherry picked from commit 13b1062730)
2025-02-11 21:33:43 +00:00
Robert Schütz
633464ba2f nixos/tests/vaultwarden: adapt to new webvault
(cherry picked from commit fcb71bf658)
2025-02-10 16:54:33 +00:00
teutat3s
75b5ef2bfe nixos/sway: restore list type of xdg.portal.config.sway.default
This fixes a regression introduced in #348792, where the option type was
changed from list to string. This commit reverts the type back to list.

Fixes #352188
Closes #352193

(cherry picked from commit 40e7344388)
2025-02-10 17:16:56 +05:30
Wolfgang Walther
5e3e1fa76e
[24.11] bird3: init at 3.0.1, nixos/bird: add package option (#380115) 2025-02-08 22:11:14 +01:00
Wolfgang Walther
68c8e78a4e
[Backport release-24.11] nixos/restic: add progressFps option (#379421) 2025-02-08 22:09:10 +01:00
Tom Herbers
2ff86554c5
nixos/bird: add package option
This is done to allows to easier change which bird package should be used

(cherry picked from commit 7d67acbe4a)
2025-02-07 16:06:19 +01:00
Sandro
8eabb717ec
[BACKPORT 24.11] nixos/glpi-agent: init (#379811) 2025-02-07 14:30:06 +01:00
sternenseemann
919c69bc28 nixos: make initrd-network-ssh test a channel blocker
Last year the initrd sshd broke due to an openssh update which looked
innocent enough (the change that broke the initrd was mentioned in the
changelog, but you'd be forgiven for not making the connection):
- https://github.com/NixOS/nixpkgs/pull/323753
- https://github.com/NixOS/nixpkgs/pull/323796

Hopefully this won't happen again, the initrd test has been added to
passthru.tests for openssh since:
https://github.com/NixOS/nixpkgs/pull/356190

However, it is probably best to also have such an issue block the
channel. The ssh initrd is probably almost exclusively used on
remote machines where it is really bad when the initrd sshd
doesn't come up since it is used to unlock an encrypted volume
or similar, so it'd be stuck in initrd indefinitely. Also,
for such systems it is usually very difficult to impossible
to easily choose a different generation to boot into via
the boot loader.

(cherry picked from commit bba6b37c9d)
2025-02-07 14:23:54 +01:00
therainisme
917b4eab9c systemd: fix typo in boot.kernelParams (hierachy → hierarchy)
(cherry picked from commit 0a12b8d03d)
2025-02-07 06:49:49 +00:00
Simon Hauser
769a157ef3 nixos/tests/mysql-autobackup: fix eval
(cherry picked from commit e5f5eff45c)
2025-02-06 21:20:35 +00:00
liberodark
64552dee1d nixos/glpi-agent: init 2025-02-06 12:52:37 +01:00
Tert0
fa555827b2
nixos/restic: add progressFps option
(cherry picked from commit aca35b7fd6)
2025-02-05 14:14:59 +01:00
Tert0
a8f8643960
nixos/restic: nixfmt
(cherry picked from commit 54dba7bed8)
2025-02-05 14:14:39 +01:00
Alex Martens
f296f91c97 nixos/homepage-dashboard: fix links
These links were returning 404 not found.

(cherry picked from commit ebba6d1b77)
2025-02-02 14:27:14 +00:00
Bjørn Forsman
c821f8858f nixosTests.hound: migrate from 'config' to 'settings'
Fixes this eval warning:

  evaluation warning: The option `services.hound.config' defined in `makeTest parameters' has been changed to `services.hound.settings' that has a different type. Please read `services.hound.settings' documentation and update your configuration accordingly.

(cherry picked from commit 5555b70e30)
2025-01-30 17:19:42 +01:00
Bjørn Forsman
ea1349b6a7 nixos/hound: add .json extension to the generated config file
It is a JSON file, why not show it?

(cherry picked from commit 4460c6bfe9)
2025-01-30 17:19:42 +01:00
Bjørn Forsman
f54ca85ca8 nixos/hound: restart service on config changes
I expect config changes to be observable in the running service after
`sudo nixos-rebuild switch`. hound doesn't seem to support *reload*, so
use restart instead.

(cherry picked from commit 56bfc5782d)
2025-01-30 17:19:42 +01:00
Wolfgang Walther
ff583ea08b
[Backport release-24.11] nixos/headscale: remove much-loosened-up server_url check (#374612) 2025-01-29 20:53:12 +01:00
Gaétan Lepage
d924e3463d
[Backport release-24.11] cockpit: fix listen port (#371245) (#374897) 2025-01-29 11:18:09 +01:00
Robert Hensing
b2476be36b nixos/nix-fallback-paths: 2.24.11 -> 2.24.12
(cherry picked from commit 94efb4613c)
2025-01-27 20:48:01 +00:00
Vladimír Čunát
9ca84cb88b
sunshine: 0.23.1 -> 2025.118.151840 (#375532) 2025-01-27 18:21:19 +01:00
Adam C. Stephens
aa5c2aa4df
[Backport release-24.11] incus: 6.8.0 -> 6.9.0 (#376767) 2025-01-26 12:12:03 -05:00
Markus Kowalewski
9d6d96e8a5
[Backport release-24.11] nixosModules.MooseFS: Improve (#376072) 2025-01-26 15:10:11 +01:00
Bjørn Forsman
555f016cd3 nixos/libvirt-guests: add missing dependency on libvirtd.service
Ensure that VMs get properly suspended (or shutdown) instead of "pulling
the plug" on them.

Simulating shutdown with
`sudo systemctl stop libvirtd.service libvirtd-ro.socket libvirtd-admin.socket libvirtd.socket libvirt-guests`:

Before:

  systemd[1]: Stopping libvirt guests suspend/resume service...
  libvirt-guests.sh[1472512]: Can't connect to default. Skipping.
  systemd[1]: libvirt-guests.service: Deactivated successfully.

After:

  systemd[1]: Stopping libvirt guests suspend/resume service...
  libvirt-guests.sh[1524073]: Running guests on default URI:
  libvirt-guests.sh[1524067]: ubuntu22.04
  libvirt-guests.sh[1524100]: Suspending guests on default URI...
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: ...
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 1.421 GiB
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 2.618 GiB
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: done
  systemd[1]: libvirt-guests.service: Deactivated successfully.

(cherry picked from commit cb4d104baf)
2025-01-26 14:55:08 +01:00
Adam C. Stephens
79a25a92f8
nixos/tests/incus: extend check timeouts
(cherry picked from commit 272fb5babf)
2025-01-25 13:04:45 -05:00
Adam C. Stephens
b12c956425 nixos/incus: add lxc hook path to service env
Fixes nvidia.runtime container passing

(cherry picked from commit 80e73d690a)
2025-01-25 15:06:01 +00:00
Adam C. Stephens
e7abcd1e9e nixos/tests/incus: fix subtest names and add reboot check
(cherry picked from commit f3a75905ab)
2025-01-25 15:06:01 +00:00
Adam C. Stephens
ec8dae0f02 incus: support per-instance lxcfs
This was added in 6.4 and backported to LTS 6.0.2

(cherry picked from commit 274e0fd934)
2025-01-25 15:06:01 +00:00
Adam C. Stephens
dd7891d809 incus: fix instance shutdown when softDaemonRestart enabled
(cherry picked from commit 9b660dff6d)
2025-01-25 15:06:01 +00:00
liberodark
889c8cf3d7 nixosModules.MooseFS: Improve
(cherry picked from commit b3429b3ed3)
2025-01-23 10:35:01 +00:00
Wolfgang Walther
d92bf39bfb
[Backport release-24.11] sdl3: init at 3.1.8 (#375314) 2025-01-21 20:48:20 +01:00
teutat3s
dd1123fd85 nixos/matrix-appservice-irc: fix signing key
generation for media proxying support

(cherry picked from commit 001492fe17)
2025-01-21 16:49:19 +00:00
Morgan Helton
9a2f75b73e sunshine: 0.23.1 -> 2025.118.151840
(cherry picked from commit bbc455519f)
2025-01-21 14:14:32 +01:00
ghpzin
1e194e0ffc nixos/tests/sunshine: fix test
- change text in `wait_for_console_text` to prevent sending curl with
pairing response before moonlight can accept it
- remove "close moonlight" step as next window stays on top in
fullscreen, previous window with pairing result does not interfere
with test. Otherwise it needs OCR or some other way to only do
`send_key("kp_enter")` after "Pairing complete" window is visible.
- add different ways to increase chances of successfull OCR: hide icewm
panel, gxmessage window takes full screen without titlebar or buttons,
black background, white foreground, consolas font,"ABC" text
- add `wait_for_console_text` to only run OCR after window is visible

(cherry picked from commit 46abca2b83)
2025-01-21 14:04:41 +01:00
Morgan Helton
3cbdad3791 sunshine: fix tray icon and menu links
(cherry picked from commit f6262762b2)
2025-01-21 14:04:41 +01:00
seth
e3ab7b8116 sdl3: init at 3.1.8
(cherry picked from commit f8db37f3a1)
2025-01-20 13:17:10 +00:00
K900
9ccfdd3b32 nixos/release-small: add latestKernel test
(cherry picked from commit 6a580ab670)
2025-01-20 10:25:04 +03:00
Wolfgang Walther
9e98b831a6
[Backport release-24.11] nixos/realmd: init (#374643) 2025-01-19 19:04:51 +01:00
Martin Weinelt
d862cce5d8 nixos/postgresql: fix condition for readwritepaths
In the case that the user wants to provide a custom data directory, we
need to grant `ReadWritePaths` for that directory. Previously this would
not happen when `/var/lib/postgresql` was used, because the condition
was not in fact checking for the default data directory, creating a gap
in then if-else scenario.

Fixes: #371680
(cherry picked from commit 4d0f802848)
2025-01-19 11:32:45 +00:00
elratt0r
a911ce455b cockpit: extend test case to not use default port
Closes: #371245
(cherry picked from commit 442e818b52)
2025-01-18 22:11:26 +00:00
elratt0r
bd7d63f90a cockpit: fix listen port (#371245)
(cherry picked from commit c460b15aa0)
2025-01-18 22:11:26 +00:00
Alex Martens
e9fb4e47e7 nixos/borgbackup: fix typo in example
(cherry picked from commit 74de1cde51)
2025-01-18 17:04:06 +00:00
liberodark
4990105801 nixos/realmd: init
(cherry picked from commit 04e79697fa)
2025-01-17 21:14:03 +00:00
Motiejus Jakštys
0889792384 nixos/headscale: remove much-loosened-up server_url check
server_url check [has been loosened upstream][1] and backported to
NixOS[2]. The new, much looser check, is not practical to be implemented
in Nix (you are welcome to give it a try; I've implemented the original
one).

Since the surface area is much smaller now (and the scenario much less
common), I think we can remove this assertion altogether.

[1]: https://github.com/juanfont/headscale/pull/2248
[2]: https://github.com/NixOS/nixpkgs/pull/358255

(cherry picked from commit de0a499a56)
2025-01-17 19:22:37 +00:00
K900
92a5805540 nixos/hyperv-guest: remove the now useless videoMode option
(cherry picked from commit b20e6abfaf)
2025-01-17 17:32:12 +03:00
Wolfgang Walther
4db55f19f4
[Backport release-24.11] trilium-next-{desktop,server}: init at 0.90.12 (#374087) 2025-01-16 21:28:22 +01:00
Wolfgang Walther
04e7e0097e
[Backport release-24.11] prometheus-frr-exporter: fix communication to frr unix socket (#373547) 2025-01-16 21:03:35 +01:00
Wolfgang Walther
e9f5fc6677
[Backport release-24.11] nixosTests.homepage-dashboard: check declarative settings (#373574) 2025-01-16 21:03:05 +01:00
Wolfgang Walther
0c58aa08c3
[Backport release-24.11] nixos/libvirtd: Add proper UEFI support (#373570) 2025-01-16 21:02:48 +01:00