From 1d7b04a71c7222153ffa9cd48f73b51ea72204d1 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 18 Feb 2023 05:13:27 -0500 Subject: major refactor - `mkHost` now accepts an optional `specialArgs` argument to be passed to `nixosSystem()` - the `modules` argument for `mkHMUser` is now optional --- users/seth/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'users/seth/default.nix') diff --git a/users/seth/default.nix b/users/seth/default.nix index cc19315..be8302e 100644 --- a/users/seth/default.nix +++ b/users/seth/default.nix @@ -2,19 +2,27 @@ config, pkgs, home-manager, + desktop, ... }: { users.users.seth = { extraGroups = ["wheel"]; isNormalUser = true; hashedPassword = "***REMOVED***"; - shell = pkgs.zsh; + shell = pkgs.bash; }; home-manager.users.seth = { - imports = [ - ./home.nix - ]; + imports = + [ + ./home.nix + ./shell + ] + ++ ( + if (desktop != "") + then [./desktop] + else [] + ); home.stateVersion = config.system.stateVersion; nixpkgs.config.allowUnfree = true; -- cgit v1.2.3