mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 04:04:35 +03:00
8b84960f16
For testing purposes
23 lines
422 B
Nix
23 lines
422 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
users.users.nixos = {
|
|
isNormalUser = true;
|
|
extraGroups = [
|
|
"input"
|
|
"networkmanager"
|
|
"video"
|
|
"wheel"
|
|
];
|
|
};
|
|
|
|
security.sudo = {
|
|
enable = true;
|
|
wheelNeedsPassword = lib.mkForce false;
|
|
};
|
|
|
|
# Some systems allows the use of TTYs, e.g. the pinephone does.
|
|
# Let's not make it needlessly annoying to use for them.
|
|
services.getty.autologinUser = "nixos";
|
|
}
|