2021-08-04 17:07:42 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2021-07-29 20:21:51 +00:00
|
|
|
|
|
|
|
{
|
2021-11-01 20:33:21 +00:00
|
|
|
config = lib.mkIf (config.ptw.system.singleUser == "fuck-xi") {
|
2021-08-04 17:07:42 +00:00
|
|
|
users.users.fuck-xi = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "audio" "video" "kvm" "input" ];
|
|
|
|
# -> abc123
|
|
|
|
hashedPassword = "$5$etg0.qVfujgh8JZu$HxGwG.aTZIT1vVo/E2wNdgVLr6dtg.XEPxvAro.iJ29";
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
useDefaultShell = false;
|
|
|
|
uid = 1000;
|
|
|
|
isSystemUser = false;
|
|
|
|
};
|
|
|
|
};
|
2021-07-29 20:21:51 +00:00
|
|
|
}
|