diff --git a/src/user/configs/default.nix b/src/user/configs/default.nix index 4503021..85b4d31 100644 --- a/src/user/configs/default.nix +++ b/src/user/configs/default.nix @@ -4,33 +4,31 @@ with lib; let modules = config.modules.user; -userConfigs = rec { - name = "bryan"; - email = "bryan@ramos.codes"; - shell = pkgs.bash; - - groups = [ "wheel" "networkmanager" "home-manager" "input" ]; - - gitConfig = optionalAttrs modules.git.enable { - userName = "Bryan Ramos"; - userEmail = email; - signing = optionalAttrs modules.security.gpg.enable { - key = "F1F3466458452B2DF351F1E864D12BA95ACE1F2D"; - signByDefault = true; - }; - }; - - keys = import ./keys; - bookmarks = import ./bookmarks; -}; - in { options = { user = mkOption { description = "User Configurations"; type = types.attrs; - default = userConfigs; + default = rec { + name = "bryan"; + email = "bryan@ramos.codes"; + shell = pkgs.bash; + keys = import ./keys; + + groups = [ "wheel" "networkmanager" "home-manager" "input" ]; + + gitConfig = optionalAttrs modules.git.enable { + userName = "Bryan Ramos"; + userEmail = email; + signing = optionalAttrs modules.security.gpg.enable { + key = "F1F3466458452B2DF351F1E864D12BA95ACE1F2D"; + signByDefault = true; + }; + }; + + bookmarks = import ./bookmarks; + }; }; }; }