add (new config): add server default config.
This commit is contained in:
parent
bfce36ce73
commit
0db2e9ff17
5 changed files with 77 additions and 0 deletions
27
users/server/host/default.nix
Normal file
27
users/server/host/default.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in a new issue