27 lines
459 B
Nix
27 lines
459 B
Nix
{ userData, customFunctions, ... }:
|
|
let
|
|
name = userData.info.userName;
|
|
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"
|
|
];
|
|
};
|
|
}
|