ZSH setup
This commit is contained in:
parent
d21dfbc6fd
commit
d1ed945935
3 changed files with 16 additions and 1 deletions
|
|
@ -65,12 +65,16 @@
|
||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "de";
|
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’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.clemens = {
|
users.users.clemens = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "clemens";
|
description = "clemens";
|
||||||
initialPassword = "123456";
|
initialPassword = "123456";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# home manager
|
# home manager
|
||||||
|
|
|
||||||
2
home.nix
2
home.nix
|
|
@ -25,12 +25,12 @@ in
|
||||||
./programm_configs/rofi.nix
|
./programm_configs/rofi.nix
|
||||||
./programm_configs/i3.nix
|
./programm_configs/i3.nix
|
||||||
./programm_configs/picom.nix
|
./programm_configs/picom.nix
|
||||||
|
./programm_configs/zsh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
zsh
|
|
||||||
alacritty
|
alacritty
|
||||||
polybar
|
polybar
|
||||||
scrot
|
scrot
|
||||||
|
|
|
||||||
11
programm_configs/zsh.nix
Normal file
11
programm_configs/zsh.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv"];
|
||||||
|
theme = "agnoster";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue