diff --git a/modules/default.nix b/modules/default.nix index 0bd8daf..c408734 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . params: -{ +rec { # A single nixos config outputting multiple formats. # Alternatively put this in a configuration.nix. generator = {config, ...}: { @@ -132,11 +132,26 @@ params: ]; }; - users = {config, ...}: { + zshModule = {config, pkgs, ...}: { + programs.zsh = { + enable = true; + autosuggestions.enable = true; + histSize = 5000; + syntaxHighlighting.enable = true; + }; + }; + + users = {config, pkgs, ...}: { + + imports = [ + zshModule + ]; + users = { users.lxsameer = { password = "123123"; isNormalUser = true; + shell = pkgs.zsh; extraGroups = [ "wheel" "networkmanager"