Added nix files
This commit is contained in:
15
modules/user.nix
Normal file
15
modules/user.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users."luke-else" = {
|
||||
isNormalUser = true;
|
||||
home = "/home/luke-else";
|
||||
shell = pkgs.bash;
|
||||
extraGroups = [ "wheel" "networkmanager" "docker" ];
|
||||
};
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user