From 7f3f0fafcd7c065583e5b075cf0f00e04638d9e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Christ?= Date: Wed, 5 Mar 2025 11:44:16 +0100 Subject: [PATCH] systemd: Enable systemd-firstboot Enable building the systemd-firstboot executable. Regarding the previous comment: > conflicts with the NixOS /etc management For conflicts to occur with /etc management, systemd-firstboot would have to be used. However activating the build flag only makes the executable available but it isn't used anywhere yet. --- pkgs/os-specific/linux/systemd/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 4036c52d6eca..6faeb413173c 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -108,8 +108,7 @@ withDocumentation ? true, withEfi ? stdenv.hostPlatform.isEfi, withFido2 ? true, - # conflicts with the NixOS /etc management - withFirstboot ? false, + withFirstboot ? true, withGcrypt ? true, withHomed ? !stdenv.hostPlatform.isMusl, withHostnamed ? true,