Commit Graph

34551 Commits

Author SHA1 Message Date
Jared Baur
6e192c4489
nixos/activation: Add pre-switch checks
Add an option for shell script fragments that are ran before switching
to a new NixOS system configuration (pre installation of bootloader or
system activation). Also add a new subcommand for
switch-to-configuration called "check" that will cause the program to
always exit after checks are ran.
2024-11-21 13:02:54 -08:00
Cosima Neidahl
e6b5e795bf
kimai, nixos/kimai: init at 2.24.0 (#353187) 2024-11-19 01:05:53 +01:00
Colin
67fe3c2326
nixos/geoclue2: add package option (#326882) 2024-11-18 22:40:37 +00:00
kirillrdy
16952bdb0c
flarum: fix 'mysql' has been renamed to/replaced by 'mariadb' (#356868) 2024-11-19 08:54:08 +11:00
Cosima Neidahl
1d87ec425f
lomiri.*: OTA-6 (#355289) 2024-11-18 22:40:08 +01:00
K900
45533e4b16
nixos/tools: add enable options to manual (#356992) 2024-11-18 19:03:51 +03:00
Maximilian Bosch
859c76c505
nixos/tools: add enable options to manual
E.g. when overriding `nix` with `pkgs.lix`, `nixos-option` will fail.
Given that I haven't used it in a very long time, I wanted to disable
it, but finding an option to turn off `nixos-option` is kinda hard given
that the options are generated here using `mkToolModule`.

I assumed that this isn't possible until I learned that
`system.tools.X.enable` exists. To me, this is a clear sign that these
shouldn't be internal.
2024-11-18 16:22:41 +01:00
Silvan Mosberger
555f0e9f1e
formats.ini: expose INI atom from all ini formats (#354800) 2024-11-18 16:11:51 +01:00
Johannes Kirschbauer
6b53949b0c
formats.ini: expose INI atom from all ini formats 2024-11-18 16:07:22 +01:00
Florian Agbuya
75a6be1684 flarum: fix 'mysql' has been renamed to/replaced by 'mariadb' 2024-11-18 13:03:05 +08:00
Martin Weinelt
ee595b709e
nixos/wyoming-faster-whisper: update CUDA device allowlist
This list can change between driver versions, and it requires an update
now to find my GPU.
2024-11-18 03:21:43 +01:00
Ratchanan Srirattanamet
29e586e508 nixos/kimai: init module & add test 2024-11-17 16:20:21 +00:00
Julien Malka
cee07e8dc8 nixos/agorakit: init module 2024-11-17 16:08:58 +01:00
Masum Reza
9930c0783d
nixos/g810-led: fix module (#356687) 2024-11-17 18:22:07 +05:30
Emily
6cf76dce17
nixos: remove boot.loader.raspberryPi (#356688) 2024-11-17 11:49:35 +00:00
Wolfgang Walther
8ca24a7a2b
nixos: remove boot.loader.raspberryPi
This has been announced for 24.11 in #241534, so let's follow through.
2024-11-17 12:33:57 +01:00
Maximilian Bosch
cdc32ef5a5
Merge: nixos/postgresql: fix warning typo (#356619) 2024-11-17 12:24:19 +01:00
Gaetan Lepage
8fac714b78 nixos/g810-led: fix module 2024-11-17 11:48:24 +01:00
Tom Fitzhenry
a2337e4f6c nixos/spiped: use systemctl restart during activation
As is common with other networking services, stopIfChanged=true (the default) can cause O(seconds) downtime during activation.

Reduce this downtime by disabling stopIfChanged as done in:
* sshd https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/ssh/sshd.nix#L569
* tailscale https://github.com/NixOS/nixpkgs/pull/170210
2024-11-17 20:39:25 +11:00
Tom Fitzhenry
235d103ff7 nixos/clatd: add enableNetworkManagerIntegration option 2024-11-17 20:38:55 +11:00
Ian Kerins
307090125f
nixos/postgresql: fix warning typo 2024-11-16 20:59:04 -05:00
Martin Weinelt
f3a1d218b0
nixos/zigbee2mqtt: only add port to DeviceAllow if it is a device (#356573) 2024-11-16 22:52:47 +01:00
Andrew Marshall
577e162073 nixos/zigbee2mqtt: only add port to DeviceAllow if it is a path
zigbee2mqtt supports having non-device ports (e.g. `tcp://`); those
should not be set in DeviceAllow. No URI will start with `/`, so use
that as the filter that it is a “real” device that needs to be allowed.
2024-11-16 16:47:38 -05:00
Maximilian Bosch
97a911e8fb
Merge: nixos/postgresql: extension based hardening relaxation (#355010) 2024-11-16 22:29:36 +01:00
Masum Reza
e6914ee14c
nixos/hyprland: adds programs.hyprland.withUWSM option (#355959) 2024-11-17 00:41:49 +05:30
Martin Weinelt
d370af0785
nixos/postgresql: create infrastructure for relaxing systemd hardening
By matching on the package names of the plugins passed into the package
we can relax the systemd unit hardening as needed.
2024-11-16 17:29:34 +01:00
Masum Reza
f4ae47b33e
nixos/gdm: automatically enable services.displayManager (#353848) 2024-11-16 21:40:04 +05:30
Martin Weinelt
223a6c6ed0
nixos/postgresql: rename extraPlugins to extensions
This is the upstream lingo, and it makes everything slightly less
confusing.
2024-11-16 14:46:16 +01:00
Guillaume Girol
8bb2a40c90
sgx-psw+aesmd: 2.24 -> 2.25 (#353041) 2024-11-16 12:21:10 +01:00
Adam C. Stephens
7ea9ba60d8
nixos/incus: add incus-user service and socket (#355645) 2024-11-15 23:34:21 -05:00
jopejoe1
95b30da133
nixos/shairport-sync: add package option (#355985) 2024-11-16 03:12:02 +01:00
Felix Bühler
8a95f3f42b
nixos/mopidy: fix Python dependency collisions between extensions (#354069) 2024-11-16 00:59:30 +01:00
Gaétan Lepage
34dd7c3f68
nixos/auto-upgrade: Format (#356091) 2024-11-16 00:41:13 +01:00
Weijia Wang
cedd087b81
globalprotect-openconnect: Reinstate v1 (#355758) 2024-11-15 18:25:57 +01:00
Colin
c00cdccd00
nixos/teleport: add required utils to path (#332810) 2024-11-15 13:16:39 +00:00
Masum Reza
2435883703
nixos/g810-led: add to modules-list.nix (#356164) 2024-11-15 18:27:50 +05:30
Jordan Williams
697fa78c9a
nixos/shairport-sync: add package option 2024-11-15 06:47:24 -06:00
John Titor
059a8da6b1
nixos/g810-led: add to modules-list.nix 2024-11-15 17:53:14 +05:30
Maximilian Bosch
5c01691cf2
Merge: postgresql_12: remove (#353158) 2024-11-15 12:07:14 +01:00
K900
1bc481ce87
nixos/plasma6: add qtimageformats to the requiredPackages (#306227) 2024-11-15 13:20:59 +03:00
John Titor
04f223946c
nixos/hyprland: adds programs.hyprland.withUWSM option
Bool: controls whether Hyprland is configured with UWSM or not.

Upstream recommends using UWSM for better compatibility with systemd integration.
https://wiki.hyprland.org/Useful-Utilities/Systemd-start/
2024-11-15 14:32:29 +05:30
Dmitry Chermnykh
8abd7b3220 nixos/plasma6: add qtimageformats to the requiredPackages
This is needed for qt6 apps to be able to work with certain image formats such as .webp and .avif

Closes https://github.com/NixOS/nixpkgs/issues/304523
2024-11-15 13:27:05 +05:00
Maximilian Bosch
0b3eef7441
postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692
2024-11-15 09:17:06 +01:00
liberodark
b9956ceb87 nixos/auto-upgrade: Format 2024-11-15 08:36:15 +01:00
Colin
9bd0271b22
nixos/minidlna: add package option (#345770) 2024-11-15 06:29:43 +00:00
Masum Reza
b90d2b442b
nixos/soteria: init module (#355924) 2024-11-15 11:32:05 +05:30
Norbert Melzer
5193297a6c
nixos/dashy: import nixosModule (#355979) 2024-11-15 06:43:49 +01:00
Masum Reza
c04b381470
nixos/g810-led: init (#355884) 2024-11-15 10:03:47 +05:30
Austin Horstman
57533f358a
pingvin-share: 1.1.3 -> 1.2.4 (#354105) 2024-11-14 13:40:09 -06:00
TheRealGramdalf
ee070b132a nixos/dashy: import nixosModule 2024-11-14 19:10:32 +00:00