From 7b315f9a393a787c5f17f9fe75977c8dec639864 Mon Sep 17 00:00:00 2001 From: John Lancaster Date: Thu, 3 Jul 2025 22:09:24 -0500 Subject: [PATCH] fix --- flake.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 = {