This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
nil/modules/system/users.nix

14 lines
373 B
Nix
Raw Normal View History

2022-08-14 03:28:57 +00:00
# Define a user account. Don't forget to set a password with passwd.
{ config, lib, pkgs, ... }: {
users.users = {
root.initialPassword = "noreallychangemenow";
james = {
description = "James Patrick";
extraGroups = [ "wheel" "systemd-journal" ];
initialPassword = "nixos";
isNormalUser = true;
shell = pkgs.zsh;
};
};
}