patched up zsh, and added a readme
This commit is contained in:
parent
096348358c
commit
426e0314f9
19
README.md
Normal file
19
README.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
Some of the resources I referenced to write this home-manager config
|
||||
|
||||
# Manuals
|
||||
|
||||
- [Home Manager Manual](https://nix-community.github.io/home-manager/)
|
||||
- [Nix Tour](https://nixcloud.io/tour/?id=introduction/nix)
|
||||
- [NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/introduction/)
|
||||
|
||||
# Git Repos
|
||||
|
||||
- [Gerg - nix-templates](https://github.com/Gerg-L/nix-templates)
|
||||
- [fufexan](https://github.com/fufexan/dotfiles/tree/main) mainly used for my helix config
|
||||
- [nix-starter-config](https://m7.rs/git/nix-starter-config/)
|
||||
|
||||
|
||||
# Videos
|
||||
|
||||
- [vimjoyer - youtube](https://www.youtube.com/@vimjoyer)
|
|
@ -11,7 +11,8 @@
|
|||
# package = inputs.helix.packages."x86_64-linux".default;
|
||||
|
||||
package = inputs.helix.packages.${pkgs.system}.default.overrideAttrs (self: {
|
||||
makeWrapperArgs = with pkgs; self.makeWrapperArgs
|
||||
makeWrapperArgs = with pkgs;
|
||||
self.makeWrapperArgs
|
||||
or []
|
||||
++ [
|
||||
"--suffix"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
cursor = "none";
|
||||
cursor_shape = "block";
|
||||
cursor_blink_interval = 0;
|
||||
shell = "zsh";
|
||||
shell = "/home/tacocat/.nix-profile/bin/zsh";
|
||||
shell_integration = "no-cursor";
|
||||
background_opacity = "0.9";
|
||||
tab_bar_style = "powerline";
|
||||
|
|
1691
shell/.p10k.zsh
Normal file
1691
shell/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,16 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
enableVteIntegration = true;
|
||||
autocd = false;
|
||||
cdpath = [
|
||||
"/mnt/nixos/etc/nixos/"
|
||||
"/mnt/stuff/school/"
|
||||
];
|
||||
syntaxHighlighting.enable = true;
|
||||
autocd = true;
|
||||
defaultKeymap = null;
|
||||
dotDir = ".config/zsh";
|
||||
history = {
|
||||
|
@ -19,36 +15,44 @@
|
|||
save = 10000;
|
||||
};
|
||||
historySubstringSearch.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"z"
|
||||
"git"
|
||||
"vi-mode"
|
||||
"thefuck"
|
||||
];
|
||||
theme = "bira"; # TODO: figure out how to source custom theme
|
||||
# other cool themes:
|
||||
# duellj
|
||||
# simonoff
|
||||
# strug
|
||||
# bira
|
||||
};
|
||||
# plugins = [
|
||||
# {
|
||||
# name = "zsh-syntax-highlighting";
|
||||
# src = pkgs.fetchFromGitHub {
|
||||
# owner = "zsh-users";
|
||||
# repo = "zsh-syntax-highlighting";
|
||||
# rev = "0.7.1";
|
||||
# sha256 = "gOG0NLlaJfotJfs+SUhGgLTNOnGLjoqnUp54V9aFJg8=";
|
||||
# };
|
||||
# }
|
||||
# ];
|
||||
plugins = [
|
||||
{
|
||||
name = "powerlevel10k";
|
||||
file = "powerlevel10k.zsh-theme";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "romkatv";
|
||||
repo = "powerlevel10k";
|
||||
rev = "v1.19.0";
|
||||
sha256 = "+hzjSbbrXr0w1rGHm6m2oZ6pfmD6UUDBfPd7uMg5l5c=";
|
||||
};
|
||||
}
|
||||
];
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
la = "eza -la";
|
||||
l = "eza -l";
|
||||
};
|
||||
initExtra = ''
|
||||
source ~/.config/zsh/.p10k.zsh
|
||||
'';
|
||||
localVariables = {
|
||||
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = true;
|
||||
};
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
# oh-my-zsh = {
|
||||
# enable = true;
|
||||
# plugins = [
|
||||
# "z"
|
||||
# "git"
|
||||
# "vi-mode"
|
||||
# "thefuck"
|
||||
# ];
|
||||
# theme = "bira"; # TODO: figure out how to source custom theme
|
||||
# # other cool themes:
|
||||
# # duellj
|
||||
# # simonoff
|
||||
# # strug
|
||||
# # bira
|
||||
# };
|
||||
home.file.".config/zsh/.p10k.zsh".source = ./.p10k.zsh;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue