Commit Graph

39646 Commits

Author SHA1 Message Date
WilliButz
d9264d0568
nixos/repart-image: add myself as maintainer 2024-03-21 11:37:43 +01:00
WilliButz
5282cdd926
nixos/repart-image: add internal option to expose finalPartitions 2024-03-21 11:37:43 +01:00
WilliButz
d7ef2defda
nixos/repart-image: refactor to use mkDerivation
As a follow-up to https://github.com/NixOS/nixpkgs/pull/294096 this
should further improve the flexibility around building OS images with
systemd-repart:

* Previously the attribute set `compression` needed to be fully
  populated, including `algorithm` and `level` because
  `compression.enable` was evaluated by bash, after being interpolated
  as strings into the `buildCommand`. Now it's sufficient to pass
  `compression.enable = false` to the builder, e.g. in `overrideAttrs`,
  to disable the compression.
* Using mkDerivation allows for much more customization than the
  previously used `runCommand`, making use of phases and pre/post hooks.
  This is especially helpful for building multiple images from the same
  system configuration, e.g. to build an image `Y` based on a partially
  built raw image `X`,  by injecting a UKI that depends on `X` into a
  defered ESP.
* Before this change it was non-trivial to conduct further manipulations
  on the amended repart definitions. Now, the definitions that
  systemd-repart uses to build the image can be easily manipulated in
  `postPatch` or `preBuild`.

Aside from this, the build is now executed in the build directory, rather
than `$out`. This allows references to relative paths in the build
environment to be used, especially for `--definitions`, which previously
required an absolute path.
2024-03-21 11:37:43 +01:00
Sandro
5d59704211
Merge pull request #295387 from majiru/drawterm-update 2024-03-20 17:19:26 +01:00
Dmitry Bogatov
5bb92281f5 nixos/dnscache: Provide explicit group for "dnscache" user
Without this patch the module refuses to evaluate, complaining that
default "nogroup" is no longer supported.
2024-03-20 16:45:50 +01:00
Sandro
50b2e2a029
Merge pull request #296866 from SuperSandro2000/xserver-pinentry 2024-03-20 14:32:44 +01:00
éclairevoyant
debb92775e nixos/starship: cleanup 2024-03-20 21:08:43 +11:00
éclairevoyant
4f9d91e276 nixos/starship: allow setting package 2024-03-20 21:08:43 +11:00
Florian Klink
40e49b40ab
Merge pull request #296949 from NixOS/mycelium_service
nixos/mycelium: init
2024-03-20 11:50:46 +02:00
nikstur
d5d1e6a4fa
Merge pull request #297227 from WilliButz/uki/expose-rendered-config
nixos/uki: add configFile option
2024-03-20 10:41:59 +01:00
Florian Klink
39ebd395cc
Merge pull request #224666 from grindhold/container_underscores
check nixos-container names for underscores
2024-03-20 11:41:34 +02:00
Doron Behar
86209dfc0d
Merge pull request #291305 from gbtb/nvtop-310 2024-03-20 09:58:40 +02:00
Pol Dellaiera
15541288f3
Merge pull request #297133 from trofi/etebase-server-fix-test
etebase-server: fix the eval on `null` `cfg.unixSocket`
2024-03-20 07:38:15 +01:00
K900
e382906174
Merge pull request #295839 from peterhoeg/m/sddm_kwin
nixos/sddm: add support for kwin_wayland
2024-03-20 09:02:52 +03:00
lassulus
0f0aaa517c nixos/tests/mycelium: init 2024-03-20 03:56:59 +01:00
lassulus
b82a5ef764 nixos/mycelium: init 2024-03-20 03:56:58 +01:00
Jacob Moody
e4789ca32a drawterm: unstable-2024-02-18 -> unstable-2024-03-20 2024-03-19 20:18:57 -05:00
aleksana
7b715c5023 nixos/mandoc: add release note to reflect manpath changes 2024-03-20 00:56:18 +01:00
aleksana
b60f6b118b nixos/mandoc: add leading slash to manPath 2024-03-20 00:56:18 +01:00
aleksana
da089cf63a nixos/mandoc: fix invalid manpath directory and add cachePath option 2024-03-20 00:56:18 +01:00
maxine
b0f45b4837
Merge pull request #295926 from savannidgerinel/savanni/1password-8.10.28-21
_1password-gui_beta: 8.10.28-11 -> 8.10.28-21 + refactor
2024-03-19 23:11:29 +01:00
Savanni D'Gerinel
61b6a6ae6f
_1password-gui-beta: 8.10.28-11 -> 8.10.28-21
- Updating the 1Password beta release to 8.10.28
- Removing the KeyringHelper application.
2024-03-19 23:09:37 +01:00
Silvan Mosberger
308671dbe8 nixos/nix: Fix example for nix.settings option
Attribute sets aren't valid option values, needs to be a list
2024-03-19 22:55:19 +01:00
Peter Hoeg
404a2363d1 nixos/plasma6: use kwin with sddm 2024-03-19 21:14:46 +01:00
Peter Hoeg
8c642cd40a nixos/sddm: add support for kwin_wayland 2024-03-19 20:55:23 +01:00
Will Fancher
f0701b576a
Merge pull request #290061 from SuperSandro2000/kernel-modules-package-name
nixos/boot: move name overwrite to pkgs.aggregateModules to option
2024-03-19 13:04:19 -04:00
WilliButz
e9fa0ec5fe
nixos/uki: add configFile option
This option makes it easier to reuse a system's ukify.conf without the
need for manually calling the generator on `settings` again to receive a
rendered configuration file.

Theoretically, a complete configuration file could now be provided by
users.
2024-03-19 17:58:28 +01:00
Bobby Rong
a5bee07d3f
Merge pull request #297208 from bobby285271/fix/budgie-test
nixosTests.budgie: Split run dialog subtest
2024-03-20 00:28:10 +08:00
Bobby Rong
b5f838a2ca
nixosTests.budgie: Split run dialog subtest
The original b-c-c subtest is probably flaky, as I didn't actually ensure
the inputbox focused before typing. Instead of another hacky xdotool,
split the run dialog subtest out.

https://hydra.nixos.org/build/253473303/nixlog/37
2024-03-19 23:59:56 +08:00
Bobby Rong
2dcadb7087
Merge pull request #297072 from FedericoSchonborn/add-federicoschonborn
maintainers: Add federicoschonborn back again
2024-03-19 23:12:06 +08:00
gbtb
7c3a738418 nvtop: fixed build with drm, added more arm gpu support 2024-03-20 00:15:38 +10:00
ajs124
bdabdf0c16 nixos/gitlab: use workhorse package from option in path 2024-03-19 13:47:55 +01:00
ajs124
1bada61543 nixos/gitlab: switch from sidekiq to sidekiq-cluster 2024-03-19 13:47:55 +01:00
Sandro
4a9a5fab1c
Merge pull request #283501 from SuperSandro2000/hedgedoc-fix-tools-exec 2024-03-19 13:37:46 +01:00
Andrew Kaster
b467733c33 ladybird: unstable-2023-01-17 -> 0-unstable-2024-03-16 2024-03-19 12:39:07 +01:00
Sergei Trofimovich
5a3bd05394 etebase-server: fix the eval on null cfg.unixSocket
Without the change the test eval fails as:

    $ nix build --no-link -f. etebase-server.tests
       error: cannot coerce null to a string: null
2024-03-19 08:59:57 +00:00
Someone
63709965b7
Merge pull request #178717 from ShamrockLee/write-multiple-references
trivial-builders: replace writeReferencesToFile with writeClosure
2024-03-19 08:57:20 +00:00
Federico Damián Schonborn
455b915be0
maintainers: Add federicoschonborn back again
Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
2024-03-18 21:51:28 -03:00
Lily Foster
e3c0bb4255
Merge pull request #294542 from Janik-Haag/garage
nixos/garage: add env-var wrapper for admin cli
2024-03-18 16:10:15 -07:00
Janik H.
9ec0e31f79
nixos/garage: add env-var wrapper for admin cli 2024-03-18 22:53:21 +01:00
Will Fancher
57f69255d7
Merge pull request #293591 from lf-/jade/fix-luksroot-assert
nixos.luksroot: fix assertion message to name correct option
2024-03-18 17:46:11 -04:00
maralorn
b6668ded0e
Merge pull request #296977 from slotThe/maintainer
Add slotThe as a maintainer
2024-03-18 22:43:38 +01:00
Jade Lovelace
a72afcbc48 nixos.luksroot: fix assertion message to name correct option 2024-03-18 14:41:47 -07:00
Yueh-Shun Li
97a7ce7aa6 nixosTests.nixops: remove dead code from Nix expression 2024-03-19 05:30:53 +08:00
Ryan Lahfa
ae07fcb07b
Merge pull request #293271 from nikstur/test-instrumentation-without-usr-bin-env
nixos/test-instrumentation: use full path to env
2024-03-18 13:57:37 -07:00
Tony Zorman
240c39ef2e nixos/xmonad: add slotThe as a maintainer 2024-03-18 20:27:15 +01:00
Yueh-Shun Li
e9fd4389d2 writeClosure: init, replacing writeReferencesToFile
Replace writeReferencesToFile with writeClosure.

Make writeClosure accept a list of paths instead of a path.

Re-implement with JSON-based exportReferencesGraph interface provided by
__structuredAttrs = true.

Reword the documentation.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Co-authored-by: Someone Serge <sergei.kozlukov@aalto.fi>
2024-03-19 02:45:50 +08:00
Will Fancher
99587a3411
Merge pull request #209964 from Majiir/fix-initrd-systemd-closure
nixos/systemd/initrd: follow init param symlinks
2024-03-18 14:39:37 -04:00
Florian Klink
70d7abc09c
Merge pull request #296924 from flokli/document-servers-empty-fallback
nixos/timesyncd: further document services.timesyncd.servers
2024-03-18 20:08:22 +02:00
Jon Seager
ffc736695c
Merge pull request #296937 from MinerSebas/scrutiny-collector-ordering 2024-03-18 17:16:40 +00:00