diff --git a/flake.nix b/flake.nix index f066abe..ee627a6 100644 --- a/flake.nix +++ b/flake.nix @@ -64,6 +64,12 @@ nix.settings.trusted-users = [ "root" "@wheel" ]; users.users.${config.user} = { isNormalUser = true; + description = "John Lancaster"; + extraGroups = [ + "networkmanager" + "wheel" + "docker" + ]; } // userOptions config; users.users.root = lib.mkIf config.root (userOptions config); @@ -81,14 +87,7 @@ extraSpecialArgs = { inherit inputs; }; users = { ${config.user} = { - isNormalUser = true; - description = "John Lancaster"; imports = mkhomeManagerModules config; - extraGroups = [ - "networkmanager" - "wheel" - "docker" - ]; }; } // lib.optionalAttrs config.root { root = {