Add user module

This commit is contained in:
Donovan Glover 2023-05-17 15:58:08 -04:00
parent afc98ce47e
commit e09febf522
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 18 additions and 0 deletions

View File

@ -53,6 +53,7 @@
./modules/nix
./modules/npm
./modules/home-manager
./modules/user
./modules/piper
./modules/packages
{

17
modules/user/default.nix Normal file
View File

@ -0,0 +1,17 @@
{
users = {
mutableUsers = false;
users.user = {
isNormalUser = true;
uid = 1000;
password = "user";
extraGroups = [ "wheel" "networkmanager" ];
};
};
home-manager.users.user = {
home.username = "user";
home.homeDirectory = "/home/user";
};
}