Téléverser les fichiers vers "workstation-setup"

This commit is contained in:
2026-08-18 17:32:58 +02:00
parent f1ae373503
commit 6ff336493c
2 changed files with 49 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
cmake_minimum_required(VERSION 3.21)
project(
nixos-workstations-setup
VERSION 1.0.0
LANGUAGES CXX
)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
find_package(Qt6 REQUIRED COMPONENTS
Core
Gui
Qml
Quick
QuickControls2
)
qt_standard_project_setup(REQUIRES 6.6)
if(NOT DEFINED PASSWORD_HELPER_PATH)
message(FATAL_ERROR "PASSWORD_HELPER_PATH is required")
endif()
if(NOT DEFINED PIN_HELPER_PATH)
message(FATAL_ERROR "PIN_HELPER_PATH is required")
endif()
if(NOT DEFINED TARGET_USER)
message(FATAL_ERROR "TARGET_USER is required")
endif()
add_subdirectory(src)
install(
FILES org.raspot.nixosworkstations.setup.desktop
DESTINATION share/applications
)
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Finalisation du poste
Comment=Personnalisation sécurisée des moyens d'authentification
Exec=nixos-workstations-setup
Icon=security-high
Terminal=false
Categories=System;Settings;
NoDisplay=true