Commit graph

1438 commits

Author SHA1 Message Date
Aliaksandr f28be96fda
treewide: mkAliasOptionModuleMD -> mkAliasOptionModule 2025-10-21 15:42:47 +03:00
nixpkgs-ci[bot] 98a73a9815
Merge master into staging-next 2025-10-20 06:06:41 +00:00
h7x4 8414b2a6e0
nixos/users-groups: use submodule config in hashedPasswordFile.default (#432944) 2025-10-20 04:53:13 +00:00
nixpkgs-ci[bot] 94e79f47bf
Merge master into staging-next 2025-10-18 00:15:17 +00:00
Sandro Jäckel 1f60b27cd1
userborn: do not use mkForce to disable activationScripts 2025-10-16 23:24:26 +02:00
nixpkgs-ci[bot] ce0844a584
Merge master into staging-next 2025-10-15 12:55:06 +00:00
misuzu 67bcc4fd76
nixos/fontconfig: fix allowBitmaps option (#450484) 2025-10-13 23:21:47 +03:00
nixpkgs-ci[bot] 9cbb132d0a
Merge master into staging-next 2025-10-12 12:40:00 +00:00
Maor Haimovitz b68fa55000 nixos/fontconfig: fix allowBitmaps option 2025-10-09 19:02:11 -04:00
nikstur 70852ab2da nixos/shells-environment: add environment.shell.enable option 2025-10-09 23:52:38 +02:00
Wolfgang Walther 5e1f5b623b
Merge branch 'staging-next' into staging 2025-10-05 11:40:56 +02:00
K900 e93c560b79 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-05 12:17:08 +03:00
Wolfgang Walther 91a8fee3aa
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther c283f32d29
treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Will Fancher f75a8b7e9a nixos/users-groups: New clock system group 2025-10-03 01:35:22 -04:00
nixpkgs-ci[bot] 3c90917fd5
Merge master into staging-next 2025-09-29 12:07:15 +00:00
qbisi b9fd04eb4d nixos/swap: use btrfs mkswapfile if possible 2025-09-29 19:03:56 +08:00
nixpkgs-ci[bot] b1475aee15
Merge master into staging-next 2025-09-25 06:06:37 +00:00
Nick Cao c2ecb970df
nixos/zram: zramSwap.memoryPercent fix description 2025-09-22 18:06:20 -04:00
nixpkgs-ci[bot] d158bb26b3
Merge master into staging-next 2025-09-21 18:05:23 +00:00
Emily 85b124cedd Reapply "various: fix Scudo allocator due to LLVM update"
This reverts commit 5119cafc59.
2025-09-20 16:24:40 +01:00
K900 5119cafc59
Revert "various: fix Scudo allocator due to LLVM update" 2025-09-20 17:53:06 +03: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
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
nixpkgs-ci[bot] e17f375991
Merge master into staging-next 2025-09-09 00:16:24 +00:00
cinereal c30b9ec953
formats: add nixConf
adds `nixConf` (to generate `nix.conf` files) as a file format to
`lib.formats`, and uses it for serializing `nix.settings`.

this makes it easier to 'manually' serialize `nix.settings`, which is
relevant in e.g. safely handling sensitive values such as that of
`nix.settings.access-tokens`.

Signed-off-by: cinereal <cinereal@riseup.net>
2025-09-06 13:25:52 +02:00
Vladimír Čunát 7f3ba72e24
Merge branch 'master' into staging 2025-08-23 11:39:22 +02:00
K900 31d5c4e753 nixos/treewide: clean up some more references to deleted qt5 things 2025-08-22 11:38:49 +03:00
Florian Klink 3321fa3e4c
kbd: link compression libs directly (#434001) 2025-08-19 22:03:39 +02:00
nikstur 8d51c6277e kbd: 2.8.0 -> 2.8.0-unstable-2025-08-12
Link compression libs directly.

- Clean up derivation
- Remove NIX_LDFLAGS which achieved nothing. Static compilation works
  without it on master. It's unclear what this should've every achieved.
  kbd doesn't link against audit.
- Build directly from source now instead of the preconfigured tarball
  (avoids xz-style issues)
2025-08-18 23:46:44 +02:00
Emily 01e8f570c6 nixos/malloc: unpin LLVM for Scudo
This was using `llvmPackages_latest` before that became an alias.
2025-08-18 15:56:40 +01:00
Rasheeq Azad 939fa2ab2b nixos/users-groups: use submodule config in hashedPasswordFile.default
This fixes nixos-option of hashedPasswordFile.
2025-08-11 17:34:53 -04:00
Wolfgang Walther f96d58f0c8
nixos/config/sysfs: run treefmt 2025-08-11 09:16:28 +02:00
Mikael Voss ba04f97d4e nixos/config/sysfs: init module 2025-08-11 12:16:59 +05:30
nikstur 42cf56db09 nixos/system-path: add corePackages option
This allows users to override all packages. This is useful to build
minimal systems that really don't required these packages that
previously were "required".
2025-08-10 22:48:26 +02:00
nikstur d5ae87bdeb
Revert "nixos: allow more things to be disabled" 2025-08-10 22:22:08 +02:00
Arian van Putten 1bb040fae8
nixos: allow more things to be disabled (#429695) 2025-08-10 19:49:52 +02:00
Martin Weinelt 63c4ed7e64
nixseparatedebuginfod2: init package and module (#428845) 2025-08-10 15:46:23 +02:00
Naïm Camille Favier e4b933ddb4
nixos/resolveconf: not resetting package (#426557) 2025-08-07 13:42:58 +02:00
nikstur 6df45ae281 nixos/system-path: add corePackages option
This allows users to override all packages. This is useful to build
minimal systems that really don't required these packages that
previously were "required".
2025-07-31 20:42:35 +02:00
Guillaume Girol ca548d4da9 nixos: make it possible for several modules to provide a debuginfod server
by introducing a `environment.debuginfodServers` option.
2025-07-27 23:01:05 +02:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Glen Huang 7454288c91
nixos/resolveconf: not resetting package
package already has a default value, there is no need to reset it
2025-07-19 11:00:05 +08:00
isabel 6cdee65115
nixos/users-groups: group members filter by enabled 2025-07-18 22:19:11 +01:00
Philip Taron 8279ffe622
treewide: specify that mebibytes are used when it's ambiguous (#424169) 2025-07-11 12:29:33 -07:00
Axel Karjalainen 7159ab6f43 treewide: specify where mebibytes are used when it's ambiguous 2025-07-11 00:44:23 +03:00
DavHau 485b06a376 nixos/sysctl: sane inotify defaults globally
Currently, sane inotify limits are only set when graphical-desktop is enabled, but inotify is also used on servers by non-graphical applications
2025-06-17 18:47:31 +07:00
Moraxyc 069c640f76
nixos/getaddrinfo: init
This commit introduces a new NixOS module `networking.getaddrinfo` to allow
declarative configuration of `/etc/gai.conf`, which controls address
selection behavior for `getaddrinfo(3)` as defined in RFC 3484 and
RFC 6724.
2025-06-10 20:08:52 +08:00
Johannes Kirschbauer 6d8eca96ba
sysctl: remove unnecessary definition filtering 2025-05-30 22:45:46 +02:00
arcnmx 41725bb0f7 nixos/swap: require mkswap when encrypted
the mkswap service manages a dm/luks block device when randomEncryption
is enabled, and is not an optional dependency of the swap unit
2025-05-29 19:28:40 +05:30