mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 04:04:35 +03:00
40ce3bbeaf
This file is now public API, and can be imported by end-user configurations.
32 lines
506 B
Nix
32 lines
506 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkForce;
|
|
system_type = config.mobile.system.type;
|
|
|
|
defaultUserName = "alice";
|
|
in
|
|
{
|
|
imports = [
|
|
./phosh.nix
|
|
];
|
|
|
|
config = {
|
|
users.users."${defaultUserName}" = {
|
|
isNormalUser = true;
|
|
password = "1234";
|
|
extraGroups = [
|
|
"dialout"
|
|
"feedbackd"
|
|
"networkmanager"
|
|
"video"
|
|
"wheel"
|
|
];
|
|
};
|
|
|
|
services.xserver.desktopManager.phosh = {
|
|
user = defaultUserName;
|
|
};
|
|
};
|
|
}
|