mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 14:54:26 -05:00
Initial commit unclean
This commit is contained in:
37
users/users.nix
Normal file
37
users/users.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user