ZSH setup

This commit is contained in:
CDaut 2024-02-29 23:31:15 +01:00
parent d21dfbc6fd
commit d1ed945935
Signed by: clara
GPG key ID: 223391B52FAD4463
3 changed files with 16 additions and 1 deletions

View file

@ -65,12 +65,16 @@
# Configure console keymap
console.keyMap = "de";
# enable zsh to allow setting it as a default shell
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.clemens = {
isNormalUser = true;
description = "clemens";
initialPassword = "123456";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
};
# home manager

View file

@ -25,12 +25,12 @@ in
./programm_configs/rofi.nix
./programm_configs/i3.nix
./programm_configs/picom.nix
./programm_configs/zsh.nix
];
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
zsh
alacritty
polybar
scrot

11
programm_configs/zsh.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv"];
theme = "agnoster";
};
};
}