added zsh
This commit is contained in:
@@ -18,10 +18,12 @@
|
|||||||
home.stateVersion = systemSettings.stateVersion;
|
home.stateVersion = systemSettings.stateVersion;
|
||||||
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
|
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
|
||||||
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
|
||||||
imports = [ (import ./git.nix {inherit userSettings;}) ];
|
imports = [
|
||||||
|
(import ./git.nix {inherit userSettings;})
|
||||||
|
(import ./zsh.nix {inherit userSettings;})
|
||||||
|
];
|
||||||
programs = {
|
programs = {
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
bash.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
23
home-manager/zsh.nix
Normal file
23
home-manager/zsh.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
# https://github.com/ohmyzsh/ohmyzsh/wiki/themes
|
||||||
|
# theme = "robbyrussell";
|
||||||
|
# theme = "simple";
|
||||||
|
theme = "risto";
|
||||||
|
plugins = [
|
||||||
|
"sudo"
|
||||||
|
"dotenv"
|
||||||
|
"git"
|
||||||
|
"ssh"
|
||||||
|
"ssh-agent"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
shellAliases = {
|
||||||
|
ls = "eza -l";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user