mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
zsh
This commit is contained in:
parent
3952094233
commit
980b108c82
@ -24,8 +24,8 @@
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
#networking.proxy.default = "http://user:password@proxy:port/";
|
||||
#networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
@ -79,7 +79,7 @@
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#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)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
@ -87,6 +87,11 @@
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# 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’.
|
||||
users.users.yoda = {
|
||||
isNormalUser = true;
|
||||
|
@ -14,6 +14,9 @@ in
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
/* 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
|
||||
programs.git = {
|
||||
@ -30,6 +33,22 @@ in
|
||||
# enableSshSupport = true;
|
||||
# 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user