From e32305803a4110552a7875a4fa65491b766ce959 Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 20 Feb 2024 08:39:30 +0100 Subject: [PATCH] what in tarnation why does NixOS make the users' primary group "users" instead of the username like every other distro??? --- system/common/me.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/common/me.nix b/system/common/me.nix index 5e82c49..0ece4af 100644 --- a/system/common/me.nix +++ b/system/common/me.nix @@ -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 = {