started modifing configuration structure
This commit is contained in:
21
system/users/default.nix
Normal file
21
system/users/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, config, userSettings, ... }: {
|
||||
users.users.${userSettings.username} = {
|
||||
isNormalUser = true;
|
||||
description = userSettings.name;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"podman"
|
||||
"input"
|
||||
"flatpak"
|
||||
"dialout"
|
||||
"video"
|
||||
"audio"
|
||||
"libvirtd"
|
||||
];
|
||||
uid = 1000;
|
||||
};
|
||||
|
||||
users.defaultUserShell = pkgs.bash;
|
||||
}
|
||||
Reference in New Issue
Block a user