what in tarnation

why does NixOS make the users' primary group "users" instead of the
username like every other distro???
This commit is contained in:
NullBite 2024-02-20 08:39:30 +01:00
parent a0b0d8cab8
commit e32305803a
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -9,6 +9,8 @@ in
config = lib.mkIf cfg.enable {
users.users.nullbite = {
uid = 1000;
group = "nullbite";
isNormalUser = true;
extraGroups = [ "wheel" ] ++ lib.optional config.nixfiles.packageSets.fun.enable "input";
packages = with pkgs; [
@ -18,6 +20,8 @@ in
shell = pkgs.zsh;
};
users.groups.nullbite.gid = 1000;
# shell config
programs.zsh.enable = true;
programs.fzf = {