nixos-config/modules/users/fuck-xi.nix

17 lines
438 B
Nix

{ pkgs, lib, config, ... }:
{
config = lib.mkIf (config.ptw.system.singleUser == "fuck-xi") {
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;
};
};
}