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,27 @@
{ userData, customFunctions, ... }:
let
name = userData.user.name;
home = userData.paths.homeDir;
in
{
imports = customFunctions.scan {
path = ./.;
exclude = [ ./default.nix ];
};
host = {
version = "25.05";
};
users.users.${name} = {
inherit name home;
isNormalUser = true;
description = name;
createHome = true;
homeMode = "700";
extraGroups = [
# "networkmanager"
# "wheel"
];
};
}