template: add template user & template config

This commit is contained in:
Kirill Samoylenkov 2025-09-30 00:37:26 +05:00
parent 1b5a1d0f7f
commit 8e211d3587
7 changed files with 94 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{ userData, customFunctions, ... }:
let
userName = userData.info.userName;
homeDirectory = userData.paths.homeDir;
in
{
imports = customFunctions.scan {
path = ./.;
exclude = [
./default.nix
];
};
home = {
inherit homeDirectory;
username = userName;
stateVersion = "25.05";
};
}