mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 20:33:59 +01:00
Add user module
This commit is contained in:
parent
afc98ce47e
commit
e09febf522
@ -53,6 +53,7 @@
|
|||||||
./modules/nix
|
./modules/nix
|
||||||
./modules/npm
|
./modules/npm
|
||||||
./modules/home-manager
|
./modules/home-manager
|
||||||
|
./modules/user
|
||||||
./modules/piper
|
./modules/piper
|
||||||
./modules/packages
|
./modules/packages
|
||||||
{
|
{
|
||||||
|
17
modules/user/default.nix
Normal file
17
modules/user/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user