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

@ -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;

View File

@ -15,6 +15,9 @@ in
/* 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 = {
enable = true;
@ -31,5 +34,21 @@ in
# 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;
};
};
}