This commit is contained in:
Daniel Langbein 2023-08-28 17:17:01 +02:00
parent 3952094233
commit 980b108c82
2 changed files with 28 additions and 4 deletions

View File

@ -79,7 +79,7 @@
# If you want to use JACK applications, uncomment this # If you want to use JACK applications, uncomment this
#jack.enable = true; #jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default, # Use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
#media-session.enable = true; #media-session.enable = true;
}; };
@ -87,6 +87,11 @@
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# https://nixos.wiki/wiki/Command_Shell
# https://nixos.wiki/wiki/Zsh
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
# 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.yoda = { users.users.yoda = {
isNormalUser = true; isNormalUser = true;

View File

@ -15,6 +15,9 @@ in
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */ /* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
#home.username = "yoda";
#home.homeDirectory = "/home/yoda";
# Git config using Home Manager modules # Git config using Home Manager modules
programs.git = { programs.git = {
enable = true; enable = true;
@ -31,5 +34,21 @@ in
# defaultCacheTtl = 1800; # defaultCacheTtl = 1800;
#}; #};
# xdg = {
# enable = true;
# #dataHome = "${config.xdg.home.homeDirectory}/.local/share";
# };
programs.zsh = {
enable = true;
shellAliases = {
#ll = "ls -l";
#update = "sudo nixos-rebuild switch";
};
history.size = 1000;
#history.path = "${config.xdg.dataHome}/.histfile";
#history.ignoreDups = true;
#history.ignoreAllDups = true;
};
}; };
} }