Configured ZSH
This commit is contained in:
parent
cf603f863f
commit
7d28606248
4 changed files with 27 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
|||
inputs.home-manager.nixosModules.home-manager
|
||||
./hardware-configuration.nix
|
||||
../../pkgs/firefox.nix
|
||||
../../pkgs/zsh.nix
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
|
@ -54,8 +55,6 @@
|
|||
services.xserver.displayManager.gdm.enable = true;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
users.users = {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
./hardware-configuration.nix
|
||||
../../pkgs/zsh.nix
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
./hardware-configuration.nix
|
||||
./refind.nix
|
||||
../../pkgs/firefox.nix
|
||||
../../pkgs/zsh.nix
|
||||
];
|
||||
|
||||
# NVIDIA Drivers
|
||||
|
|
|
|||
24
pkgs/zsh.nix
Normal file
24
pkgs/zsh.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestions.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
update = "sudo nixos-rebuild switch --flake";
|
||||
};
|
||||
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
plugins = ["git"];
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue