add (new config): add server default config.

This commit is contained in:
Kirill Samoylenkov 2025-10-03 00:25:11 +05:00
parent bfce36ce73
commit 0db2e9ff17
5 changed files with 77 additions and 0 deletions

View file

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