From a840927d5aaa9528cc2a3b5f9f9dcd49085ee346 Mon Sep 17 00:00:00 2001 From: Olivier <1+olivier@noreply.raspot.in> Date: Tue, 18 Aug 2026 15:47:08 +0200 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"modules"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/first-login-ui.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/first-login-ui.nix diff --git a/modules/first-login-ui.nix b/modules/first-login-ui.nix new file mode 100644 index 0000000..0bad9dc --- /dev/null +++ b/modules/first-login-ui.nix @@ -0,0 +1,31 @@ +{ pkgs, ... }: + +let + firstLoginUi = pkgs.stdenv.mkDerivation { + pname = "nixos-first-login-ui"; + version = "0.1.0"; + + src = ../first-login-ui; + + nativeBuildInputs = [ + pkgs.cmake + pkgs.ninja + pkgs.pkg-config + pkgs.kdePackages.wrapQtAppsHook + ]; + + buildInputs = with pkgs.kdePackages; [ + qtbase + qtdeclarative + qtwayland + kirigami + ]; + }; +in +{ + # V1 : uniquement l'interface graphique de prévisualisation. + # Aucun autostart et aucune modification de mot de passe / PIN. + environment.systemPackages = [ + firstLoginUi + ]; +}