nix: Merge user module

This commit is contained in:
Donovan Glover 2023-06-05 12:12:12 -04:00
parent d97aa7fa1e
commit 30ccf622f7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 17 additions and 18 deletions

View File

@ -3,7 +3,6 @@
{
imports = [
./modules
./user.nix
./desktop
./dev
./host
@ -86,4 +85,21 @@
# timezone
time.timeZone = "America/New_York";
# user
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";
};
}

View File

@ -1,17 +0,0 @@
{
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";
};
}