This repository has been archived on 2025-10-08. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/users/template/host/default.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"
];
};
}