19 Commits
Author SHA1 Message Date
Tim BlackandSandro 9a8c2a85f1 systemd: use mkDefault for oomd.enable to allow downstream override (#1028)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2026-04-15 14:13:57 +02:00
Kiryl Mialeshka 146e7c5e8e fix: proper check for setting /sbin when changing populateBin from true to false 2026-03-18 23:18:21 +01:00
K900 a8209ae467 Set up chrony for clock adjustment 2025-10-14 17:03:37 +02:00
nzbr 87aa106e08 merge /bin and /sbin (#666) 2025-08-03 17:30:38 +02:00
nzbr 392fe33cc3 remove legacy systemd support (syschdemd) (#625)
* remove legacy syschdemd

* remove shfmt check because there are no shellscripts anymore
2025-02-14 17:34:23 +01:00
nzbr 5a7c64a72a shell-wrapper: wrap /bin/sh 2024-10-05 15:19:21 +02:00
Sandro Jäckel 371b5076d7 Fix createBootedSystemSymlink ordering 2024-07-12 14:23:35 +02:00
Sandro Jäckel 4df5fef186 Create /run/booted-system symlink 2024-07-05 15:44:54 +02:00
nzbr d926f9ff6a syschdemd: add deprecation notice (#473)
* syschdemd: add deprecation notice

* ci: remove legacy tarball

* rename modern to default

* ci: unbreak

* syschdemd: add removal deadline
2024-05-16 21:39:48 +02:00
nzbr 8daad551a3 fix: set $SHELL to actual shell binary 2024-04-26 06:53:41 +02:00
nzbr 03b52c7ff0 fix: non-interactive bash (#452)
* add shell wrapper

* make module conditional
2024-04-26 06:21:05 +02:00
Sandro 0b90c1d982 Don't mask resolved systemd unit (#455)
* Don't mask resolved systemd unit

servcesi.resolved.enable is false by default and masking the systemd
unit just makes it hard to activate if desired.

* Cleanup, remove with lib
2024-04-26 06:16:36 +02:00
nzbr 2ec81eb1a9 fix: bind mount X11 socket instead of symlinking 2024-02-12 07:00:24 +01:00
Philipp Heuer 70ea09e281 feat: remove option, use new tmpfiles syntax 2023-12-23 03:58:32 +01:00
Philipp Heuer 8cfd395bd5 feat: add option to toggle wslg x11 mount 2023-12-21 12:51:56 +01:00
K900 ff1413aa34 fix: fix legacy (syschdemd) mode
Quoth man mount(2)

> EINVAL
>
> A bind operation (MS_BIND) was requested where source
> referred a mount namespace magic link (i.e., a
> /proc/pid/ns/mnt magic link or a bind mount to such a
> link) and the propagation type of the parent mount of
> target was MS_SHARED, but propagation of the requested
> bind mount could lead to a circular dependency that might
> prevent the mount namespace from ever being freed.
2023-09-29 23:32:46 +03:00
K900 65ba7e6fb4 systemd: default to native 2023-09-29 20:58:37 +03:00
K900 bf652b7e27 cleanup: minor treewide cleanups 2023-09-29 20:58:37 +03:00
nzbr ff57c8dc58 Refactor (#291)
* move module imports to default.nix

* move docker modules to subdirectory

* add an otion for adding files to /bin. Fixes #279

* move recovery script to own module

* reorder options

* move systemd related code to separate modules

* move utils to repo root

* devShell -> devShells.default

* fix utils imports

* fix bashWrapper
2023-09-12 12:19:14 +02:00