mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
38 lines
697 B
Nix
38 lines
697 B
Nix
{ config, lib, pkgs, ... }:
|
||
|
||
{
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.defaultUserShell = pkgs.zsh;
|
||
|
||
# Define groups
|
||
users.groups.dummy = {};
|
||
|
||
users.users = {
|
||
jonas = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "docker" "input" "scanner" "lp" "davfs2" "wheel" "audio" "networkmanager" ];
|
||
};
|
||
theo = {
|
||
isNormalUser = true;
|
||
};
|
||
horst = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" "networkmanager" ];
|
||
};
|
||
gui = {
|
||
isNormalUser = true;
|
||
};
|
||
shared = {
|
||
isNormalUser = true;
|
||
};
|
||
dummy = {
|
||
# Testing what this does
|
||
isNormalUser = false;
|
||
isSystemUser = true;
|
||
|
||
# Set this to be safe
|
||
group = "dummy";
|
||
};
|
||
};
|
||
}
|