Commit Graph

40161 Commits

Author SHA1 Message Date
Niklas Korz
2d5317c1a0 nixos/jenkins: Apply hardening options (#435751) 2025-09-22 16:48:34 +00:00
Niklas Korz
a4ced97842 nixos/murmur: Set ProtectSystem to strict (#442008) 2025-09-22 16:35:49 +00:00
Jonas Heinrich
7d6f47b055 nixos/invoiceplane: Add quoteTemplates option (#384521) 2025-09-22 17:45:49 +02:00
jack
35a25c4bd2 nixos/pangolin: init 2025-09-22 12:25:42 +02:00
Fernando Rodrigues
da8d220829 nixos/newt: fix cli args (#444630) 2025-09-22 09:42:18 +00:00
rewine
da79caf9f1 {linyaps-box, linyaps}: init (#442883) 2025-09-22 09:35:42 +00:00
jopejoe1
5ae8f56b82 various: use mkPackageOption (#445103) 2025-09-22 08:58:51 +00:00
Jack Rosenberg
dedf2939ec nixos/newt: fix cli args 2025-09-22 10:37:36 +02:00
5a8b8b2b9d nixos/pgadmin: Apply hardening options (#441052) 2025-09-22 06:31:41 +00:00
K900
e4a417c07d sddm, nixos/sddm: drop qt5 variant (#444954) 2025-09-22 06:31:40 +00:00
Fernando Rodrigues
245e930dd8 nixos/murmur: Fix typo in mkRemovedOptionModule message (#445130) 2025-09-22 04:23:38 +00:00
Elliot
3a751c44e6 nixos/programs/fish: update abbr command 2025-09-22 12:01:38 +08:00
Felix Singer
5b0ee7f9c4 nixos/murmur: Set ProtectSystem to strict
Make the whole file system read-only except the directories related to
Murmur, like the state or runtime directories.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-09-22 05:12:43 +02:00
Felix Singer
7c45736347 nixos/murmur: Fix typo in mkRemovedOptionModule message
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-09-22 05:07:23 +02:00
h7x4
4ba3f60b8a various: use mkPackageOption 2025-09-22 02:46:54 +02:00
Nick Cao
6c50da4ab3 nixos/zram: prevent implicitly disabling negative-sized ZRAM (#444426) 2025-09-21 16:59:08 +00:00
K900
ebac8437ab sddm, nixos/sddm: drop qt5 variant 2025-09-21 16:11:52 +03:00
rewine
c9929803b3 nixos/linyaps: init 2025-09-21 15:53:29 +08:00
Michele Guerini Rocco
695f1d8607 privoxy: Allow multiple listen-address options (#444719) 2025-09-20 23:36:50 +00:00
Adam C. Stephens
886fdecdc4 nixos/incus: avoid restart on switch for incus-startup
This service exists to avoid extra instance restarts. While its dependencies
are slim, there are still some, so disable restartIfChanged to avoid any
switches from affecting instances.
2025-09-20 16:05:17 -04:00
Fabian Cholewinski
9f7f75f801 privoxy: Allow multiple listen-address options
Change type of services.privoxy.settings.listen-address from str to
either str (listOf str).  The latter allows providing a list which
results in multiple list-address entries in privoxy.conf.
2025-09-20 17:28:13 +00:00
Matt Sturgeon
c97cfb38e6 fix(podman): add mandatory runtime dependencies (#444116) 2025-09-20 16:59:38 +00:00
Wolfgang Walther
bebd83aa93 maintainers: remove Madouura (#442867) 2025-09-20 15:33:00 +00:00
h7x4
30a76b363a nixos/meilisearch: allow access to proc for memory limit (#442565) 2025-09-20 15:04:15 +00:00
Martin Weinelt
f2e6aba382 nixos/wyoming/piper: fix cudaSupport reference (#444661) 2025-09-20 15:00:14 +00:00
K900
5119cafc59 Revert "various: fix Scudo allocator due to LLVM update" 2025-09-20 17:53:06 +03:00
Martin Weinelt
1753e8b61a nixos/wyoming/piper: fix cudaSupport reference
This needs to reference the config attribute set from the package set.

Fixes: #444597
2025-09-20 16:49:57 +02:00
Emily
597c7a9003 various: fix Scudo allocator due to LLVM update (#444605) 2025-09-20 14:29:12 +00:00
dotlambda
c36c047cbc nixos/immich: set $XDG_CACHE_HOME (#444330) 2025-09-20 11:53:35 +00:00
Lisa Gnedt
753af06dab treewide: fix Scudo options
The commit 01e8f570c6 unpinned the
LLVM version, which led to the following warnings whenever Scudo
is loaded (basically whenever a command is started when used
system-wide):

Scudo WARNING: found 3 unrecognized flag(s):
    DeleteSizeMismatch=0:DeallocationTypeMismatch=0
    DeallocationTypeMismatch=0
    ZeroContents=1

According to the current Scudo documentation [1] the options are
now spelled differently. This commit keeps all existing options
and only updates the spelling.

[1] https://llvm.org/docs/ScudoHardenedAllocator.html

Reported-by: CUB3D <callumthom11@gmail.com>
2025-09-20 13:11:04 +02:00
Lisa Gnedt
64418cb26a nixos/malloc: fix Scudo library path
The commit 01e8f570c6 unpinned the
LLVM version, which led to building errors similar to this when
Scudo is used:

building the system configuration...
error: builder for '/nix/store/1f9z73haq6avvv19glifalfnmpw3gsbx-malloc-provider-scudo.drv' failed with exit code 1;
       last 1 log lines:
       > cp: cannot stat '/nix/store/s43991isxhvknqmk53q7pqmkdrfvj1p4-compiler-rt-libc-19.1.7/lib/linux/libclang_rt.scudo-x86_64.so': No such file or directory
       For full logs, run:
         nix log /nix/store/1f9z73haq6avvv19glifalfnmpw3gsbx-malloc-provider-scudo.drv

It seems in the new LLVM version the Scudo library was moved:

$ ls /nix/store/*-compiler-rt-libc-20.1.8/lib/linux/libclang_rt.scudo*
/nix/store/z98mwyi0w8f4kgk3rw6av946azh28hc9-compiler-rt-libc-20.1.8/lib/linux/libclang_rt.scudo_standalone_cxx-x86_64.a
/nix/store/z98mwyi0w8f4kgk3rw6av946azh28hc9-compiler-rt-libc-20.1.8/lib/linux/libclang_rt.scudo_standalone-x86_64.a
/nix/store/z98mwyi0w8f4kgk3rw6av946azh28hc9-compiler-rt-libc-20.1.8/lib/linux/libclang_rt.scudo_standalone-x86_64.so

This commit adjusts the library path.

Co-authored-by: CUB3D <callumthom11@gmail.com>
2025-09-20 12:56:37 +02:00
Arian van Putten
0f3383ef02 nixos/ec2-data: sshd.service -> sshd-keygen.service (#444040) 2025-09-20 06:59:31 +00:00
NAHO
af3321b3c2 nixos/zram: prevent implicitly disabling negative-sized ZRAM
Prevent implicitly disabling a negative-sized ZRAM because disabling the
ZRAM should probably always be done by disabling the zrawmSwap.enable
option.

Fixes: cd1b48bc35 ("nixos: Add zram swap module")
2025-09-19 21:32:28 +02:00
h7x4
ef43afebc8 ente: fix AmbientCapabilities systemd unit option typo (#444256) 2025-09-19 14:16:44 +00:00
Robert Schütz
3fbb8e08a1 nixos/immich: set $XDG_CACHE_HOME
The immich-machine-learning service can fail with

    RuntimeError: Data processing error: I/O error: Operation not permitted (os error 1)

because huggingface attempts to download files to $HOME/.cache (which
doesn't exist in this case) unless $XDG_CACHE_HOME or $HF_HOME is set.
2025-09-19 05:35:12 -07:00
Martin Weinelt
d3cd6a18a4 nixos/music-assistant: librespot -> spotify (#444238) 2025-09-19 11:26:13 +00:00
Michele Guerini Rocco
69e93f65b6 nixos/podman: Introduce new option extraRuntimes. (#443399) 2025-09-19 09:37:16 +00:00
royce-c
0d9a7c4386 ente: fix AmbientCapabilities systemd unit option typo 2025-09-19 00:47:58 -07:00
sweenu
bcaa25786a nixos/music-assistant: librespot -> spotify 2025-09-19 08:36:23 +02:00
Val Packett
313fa9dc99 nixos/top-level: fix cutoffPackages without initialRamdisk
In systems without initrd (e.g. containers) that also use system.replaceDependencies, we'd get:

error: attribute 'initialRamdisk' missing
at /nix/store/8vfhnwmmzqqzy97q9c5m4bzyaqqf63zy-source/nixos/modules/system/activation/top-level.nix:286:21:
   285|       cutoffPackages = mkOption {
   286|         default = [ config.system.build.initialRamdisk ];
      |                     ^

Make that initialRamdisk reference conditional on the initrd being enabled.
2025-09-18 18:59:45 -03:00
dish
971d10cf2d ifstate: 2.0.0 -> 2.0.1 (#443243) 2025-09-18 21:04:59 +00:00
Augusto Melo
0efb0c9c81 fix: add mandatory runtime dependencies
https://podman.io/docs/installation#building-from-source
2025-09-18 21:09:11 +01:00
Florian Klink
a50950f54e nixos/systemd: add units for capsule support (#443510) 2025-09-18 21:28:45 +03:00
Martin Weinelt
af89f21de9 nixos/snapserver: fix default http port
This was missed in the prior review and overlaps with the TCP port.
2025-09-18 16:02:39 +02:00
talyz
d9ac3ba30b nixos/ec2-data: sshd.service -> sshd-keygen.service
SSH key generation was split out into its own systemd service in
https://github.com/NixOS/nixpkgs/pull/372979, but dependent service
definitions weren't updated.

The `apply-ec2-data` service needs to run before SSH key generation,
as it fetches host keys defined in ec2 user data and these keys should
take priority over generating new ones. Currently, the ordering
doesn't specify which should run first of `apply-ec2-data` and
`sshd-keygen`; in practice it seems that `sshd-keygen` often wins the
race, though.

Update the dependencies so that `apply-ec2-data` always runs first.
2025-09-18 15:33:06 +02:00
René Neumann
c26558c5cc nixos/podman: Introduce new option extraRuntimes
This disables the hard, not overridable, dependency on `runc`.
It also sharpens the description of `extraPackages` to highlight the
difference between those options.

Fixes #443274.
2025-09-18 14:19:18 +02:00
Vladimír Čunát
66658778bd knot-dns: 3.4.8 -> 3.5.0
https://gitlab.nic.cz/knot/knot-dns/-/releases/v3.5.0#knot-dns-350-2025-09-18
2025-09-18 13:24:20 +02:00
h7x4
1c3a9d0ab6 nixos/netbird: update path to desktop icon (#443956) 2025-09-18 09:07:09 +00:00
Wolfgang Walther
aebd63f5cd pgbackrest: 2.55.1 -> 2.56.0 (#443717) 2025-09-18 08:34:09 +00:00
Pol Dellaiera
2df3d7d96d nixos/netbird: update path to desktop icon 2025-09-18 08:15:43 +02:00