0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-17 07:30:21 +03:00
Commit graph

46405 commits

Author SHA1 Message Date
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
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
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
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
Nico Felbinger
6ee1667861
prometheus-frr-exporter: fix communication to frr unix socket
(cherry picked from commit 7bb9f739ef)
2025-01-16 19:52:37 +01:00
Oliver Schmidt
a876e0067a nixosTests.matomo: extend test coverage
(cherry picked from commit fc6d9cc539)
2025-01-15 18:06:51 +00:00
Oliver Schmidt
ddbe88f0ec nixos/matomo: better check for database being set up
Since matomo-5.2.0, the config.php.ini is already created when first
accessing the installer page without completing it. This breaks our
discovery of whether to run database migrations.

Attempting to run DB migrations without provided database credentials
causes a crash -> causing matomo-setup-update.service to fail -> causing
phpfpm-matomo.service to fail.

(cherry picked from commit 10f670ab7e)
2025-01-15 18:06:51 +00:00
Elian Doran
67d2c574bd nixos/trilium: add adjustable package
(cherry picked from commit 655768419e)
2025-01-15 15:36:10 +00:00
Andrew Marshall
1aa8c30db4 zfs_2_3: init at 2.3.0
Changelog: https://github.com/openzfs/zfs/releases/tag/zfs-2.3.0
(cherry picked from commit 6477277a79)
2025-01-14 13:25:35 -05:00
Bjørn Forsman
07a5482cac nixosTests.homepage-dashboard: check declarative settings
Check that the custom title is used, or else we don't know that our
settings get applied.

(cherry picked from commit 9f25f899f0)
2025-01-13 21:56:02 +00:00
Jonas Heinrich
29e3d90ff7 nixos/libvirtd: Add proper UEFI support
(cherry picked from commit 58c5aeb53c)
2025-01-13 21:51:01 +00:00
Martin Weinelt
10123351c1
[Backport release-24.11] nixos/home-assistant: add support for amshan (#373501) 2025-01-13 19:45:08 +01:00
Silvan Mosberger
e110b9d12d
[Backport 24.11] More string fixes (#372975) 2025-01-13 18:27:35 +01:00
Bjørn Forsman
155c78d8bb nixos/home-assistant: allow amshan to access serial ports
Separate it from the first part of the list, because that part is
updated mechanically.

(cherry picked from commit bbcb27714f)
2025-01-13 17:01:08 +00:00
Jana Steuernagel
a473760efb nixos/wyoming-faster-whisper: remove ProcSubset protection
ProcSubset protection blocks faster-whisper from parsing /proc/cpuinfo
This results in a fallback to a suboptimal processing method, causing
processing times to be unnecessarily long

(cherry picked from commit d9ff154b74)
2025-01-13 13:56:37 +00:00
Morgan Jones
c7298a0e65 mattermost: allow overriding the webapp easily
Add a test since users will often want to make patches to the webapp.

(cherry picked from commit 13cd3a1f32)
2025-01-13 06:19:56 +00:00
Maximilian Bosch
76b1e1fc84
Revert "[Backport release-24.11] nixos/alsa: rebirth from the ashes" 2025-01-12 19:49:08 +01:00
azahi
14d5e92afa nixos/endlessh-go: fix DNS resolution
As suggested by toast003[1].

[1]: https://github.com/shizunge/endlessh-go/discussions/127#discussioncomment-11760912

(cherry picked from commit 99778e1bb5)
2025-01-12 12:09:55 +00:00
Wolfgang Walther
ba30a81385
[Backport release-24.11] nixos/frigate: Also listen on port 5000 (#370921) 2025-01-12 12:28:14 +01:00
Wolfgang Walther
f0974375a2
[24.11] pykms: unstable-2021-01-25 -> 0-unstable-2024-07-06 (#371194) 2025-01-11 17:37:38 +01:00
Wolfgang Walther
7d53f890fc
[24.11] shadps4: 0.4.0 -> 0.5.0-unstable-2025-01-02 (#370922) 2025-01-11 17:32:18 +01:00
piegames
f6ea57fd16 treewide: Fix incorrect string indentations
(cherry picked from commit dd7d5339f7)
2025-01-11 17:29:21 +01:00
piegames
772006e8c0 treewide: Fix incorrect string escapes
(cherry picked from commit 603733851b)
2025-01-11 17:29:20 +01:00
Aaron Andersen
853b5da0f6 nixos/pam: fixup refactor
(cherry picked from commit b6fe803517)
2025-01-09 19:28:49 +00:00
github-actions[bot]
03805706d8
Merge release-24.11 into staging-next-24.11 2025-01-07 00:17:10 +00:00
Bjørn Forsman
3f0a8ac25f nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd
(e.g. networking.useDHCP) and systemd-resolved
(services.resolved.enable) result in no "search" entry getting added to
/etc/resolv.conf, and dhcpcd logging the following error:

  $ systemctl status dhcpcd
  [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required.

Fix it by adding a polkit rule that gives the required permissions to
the 'dhcpcd' user to manipulate resolved. The rule was made by using
polkit logging and allowing each action.id until the above error went
away, and /etc/resolv.conf got the correct search entry.

(cherry picked from commit cc5645c6e0)
2025-01-06 22:54:43 +01:00
Bjørn Forsman
772d5a297f nixos/homepage-dashboard: fix stale cache issue
When the cache is stale, homepage-dashboard serves bad data (UI lacks
styling etc.). This issue happens at least on homepage-dashboard version
upgrades.

Fixes https://github.com/NixOS/nixpkgs/issues/346016.

(cherry picked from commit 58f12ee8a6)
2025-01-06 22:53:09 +01:00
Bjørn Forsman
6f17a8c377 homepage-dashboard: prefix nixpkgs-specific env var with NIXPKGS_
I thought HOMEPAGE_CACHE_DIR was an upstream env var, and it confused me
a lot. Let's prefix it with NIXPKGS_ to make it clear that it's nixpkgs
specific.

(cherry picked from commit be0fda6511)
2025-01-06 22:44:43 +01:00
Vladimír Čunát
474d1e4419
deepin desktop environment: 2024.12 update (#371369) 2025-01-06 14:18:49 +01:00
rnhmjoj
ac277552dc nixos/alsa: add rnhmjoj as maintainer
(cherry picked from commit b0ee109529)
2025-01-06 10:28:19 +00:00
rnhmjoj
8fb9c5fb95 nixos/tests/firefox: use hardware.alsa
(cherry picked from commit 0b5ca42f31)
2025-01-06 10:28:19 +00:00
rnhmjoj
4ae218e66f nixos/alsa: rebirth from the ashes
The ALSA module was essentially removed in 3eeff547, with the main
motivation of avoiding confusion as to what `sound.enable` really meant.

As that could be achieved with a simple rename, this change brings back
the module in full force under the `hardware.alsa` namespace (with clear
beware signs for the pulse and pipewire folks) and adds a lot of useful
extra features. These include

 - `defaultDevice` to set the default playback and capture devices

 - `cardAliases`,`deviceAliases` to assign meaningful names to sound cards
   and devices (instead of say, `hw:0,1`)

 - `controls` to create virtual volume controls

 - `enableRecorder` to easily configure a loopback device to record
   the computer audio

 - fixes to the udev restore rules

(cherry picked from commit c8a84a01d5)
2025-01-06 10:28:19 +00:00