Add a zsh module

This commit is contained in:
Sameer Rahmani 2024-02-08 21:21:38 +00:00
parent 7f153092e9
commit dd11fbfe91
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
1 changed files with 17 additions and 2 deletions

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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"