feat: massive refactor

This commit is contained in:
2025-12-20 12:57:47 +08:00
parent f4c1b313ce
commit 454ad5885d
97 changed files with 1023 additions and 960 deletions

View File

@@ -16,7 +16,9 @@ in
};
sshKeyFile = lib.mkOption {
type = lib.types.str;
default = "${config.my.persist.location}/home/${username}/.ssh/id_ed25519";
default = "${
if config.my.persist.enable then config.my.persist.location else ""
}/home/${username}/.ssh/id_ed25519";
};
};