Split up config files to multiple and added imports. Fixed default values for systemConfigs

This commit is contained in:
2025-04-15 12:48:27 +02:00
parent 9611b8bb8d
commit 16c4a8f46b
23 changed files with 149 additions and 163 deletions

15
shared/modules/users.nix Normal file
View File

@ -0,0 +1,15 @@
{ systemConfig, ... }:
let
username = systemConfig.user.name;
in
{
# Define a user without a password, TODO pass in user.password
users.users.${username} = {
isNormalUser = true;
description = username;
extraGroups = [
"networkmanager"
"wheel"
];
};
}