Refactor flake structure with flake-parts

This commit is contained in:
ulic-youthlic 2025-06-09 16:14:57 +08:00
parent 8ca6499da1
commit cf83a45191
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
10 changed files with 203 additions and 176 deletions

View file

@ -1,8 +1,10 @@
{rootPath, ...}: {
{
flake-parts-lib,
lib,
...
}: {
}: let
rootPath = ./..;
in {
options = {
flake = flake-parts-lib.mkSubmoduleOptions {
templates = lib.mkOption {