refact(cli) : all zsh to home manager
This commit is contained in:
parent
daa0af78c0
commit
551cb398f5
3 changed files with 38 additions and 38 deletions
|
@ -1,6 +1,6 @@
|
|||
new_tab Tmux
|
||||
new_tab Terminal
|
||||
layout tall
|
||||
cd ~/Developpements/
|
||||
launch --title Terminal --cwd=~/Developpements
|
||||
#launch zsh -c tmux -f ~/.config/tmux/tmux.conf new-session -A -s Terminal
|
||||
|
||||
new_tab YesWiki Dev
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services = {
|
||||
mpd.enable = true;
|
||||
mpd.musicDirectory = "/home/mrflos/Musique";
|
||||
|
@ -16,41 +18,7 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
programs = {
|
||||
# mosh.enable = true;
|
||||
# neovim = {
|
||||
# enable = true;
|
||||
# viAlias = true;
|
||||
# vimAlias = true;
|
||||
# };
|
||||
ssh.startAgent = true;
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = with builtins; fromTOML (readFile ../dotfiles/starship/starship.toml);
|
||||
};
|
||||
zsh = {
|
||||
enable = true;
|
||||
autosuggestions.enable = true;
|
||||
shellAliases = {
|
||||
#tmux = "tmux -f ~/.config/tmux/tmux.conf attach || tmux -f ~/.config/tmux/tmux.conf new";
|
||||
ls = "lsd --hyperlink=auto";
|
||||
icat = "kitty +kitten icat";
|
||||
nixedit = "vi /etc/nixos";
|
||||
nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
||||
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
|
||||
};
|
||||
initExtra = ''
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
'';
|
||||
#shellInit = "cd ~/Developpements;";
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "ssh-agent" ];
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
|
|
|
@ -202,7 +202,39 @@ in {
|
|||
profiles.default = { isDefault = true; };
|
||||
};
|
||||
|
||||
zsh.enable = true;
|
||||
starship = {
|
||||
enable = true;
|
||||
settings = with builtins; fromTOML (readFile ../dotfiles/starship/starship.toml);
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
shellAliases = {
|
||||
#tmux = "tmux -f ~/.config/tmux/tmux.conf attach || tmux -f ~/.config/tmux/tmux.conf new";
|
||||
ls = "lsd --hyperlink=auto";
|
||||
icat = "kitty +kitten icat";
|
||||
nixedit = "vi /etc/nixos";
|
||||
nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
||||
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
|
||||
};
|
||||
initExtra = ''
|
||||
plugins=(git ssh-agent)
|
||||
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
'';
|
||||
#shellInit = "cd ~/Developpements;";
|
||||
#ohMyZsh = {
|
||||
# enable = true;
|
||||
# plugins = [ "git" "ssh-agent" ];
|
||||
# theme = "robbyrussell";
|
||||
#};
|
||||
};
|
||||
};
|
||||
|
||||
services.ssh-agent.enable = true;
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue