mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +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.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
#networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
#networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
@ -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;
|
||||||
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user