Set project name as a varible in flake so it can be changed easier.

This commit is contained in:
2025-12-11 16:20:20 +01:00
parent e0daa8743d
commit 7b51a603c4
9 changed files with 35 additions and 26 deletions

View File

@ -2,6 +2,7 @@
pkgs,
host,
backupFiles ? [ ".config/mimeapps.list.backup" ],
project,
...
}: let
backupFilesString = pkgs.lib.strings.concatStringsSep " " backupFiles;
@ -11,7 +12,7 @@ in
set -euo pipefail
# --- Configuration ---
PROJECT="NixOS"
PROJECT="${project}"
HOST="${host}"
BACKUP_FILES_STR="${backupFilesString}"
VERSION="2.0.0"