mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 20:33:59 +01:00
nix: Merge user module
This commit is contained in:
parent
d97aa7fa1e
commit
30ccf622f7
18
common.nix
18
common.nix
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user