chore: disable plasma-manager for now, disko

This commit is contained in:
Ruben 2024-04-23 15:37:44 -05:00
commit c7e4d8c281
No known key found for this signature in database
GPG key ID: AE181294E97E4802
11 changed files with 314 additions and 89 deletions

View file

@ -0,0 +1,119 @@
# `sheldon` configuration file
# ----------------------------
#
# You can modify this file directly or you can use one of the following
# `sheldon` commands which are provided to assist in editing the config file:
#
# - `sheldon add` to add a new plugin to the config file
# - `sheldon edit` to open up the config file in the default editor
# - `sheldon remove` to remove a plugin from the config file
#
# See the documentation for more https://github.com/rossmacarthur/sheldon#readme
shell = "zsh"
[plugins]
# deferred loading
[plugins.zsh-defer]
github = "romkatv/zsh-defer"
[templates]
defer = "{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks?.post | nl }}"
# completions
[plugins.completion]
github = "mattmc3/zephyr"
use = ["plugins/{{ name }}"]
# shell benchmarking
[plugins.zsh-bench]
github = "romkatv/zsh-bench"
apply = ["PATH"]
# oh-my-zsh
[plugins.key-bindings]
github = "ohmyzsh/ohmyzsh"
use = ["lib/{{ name }}.zsh"]
[plugins.omz-completion]
github = "ohmyzsh/ohmyzsh"
use = ["lib/completion.zsh"]
[plugins.clipboard]
github = "ohmyzsh/ohmyzsh"
use = ["lib/{{ name }}.zsh"]
[plugins.copybuffer]
github = "ohmyzsh/ohmyzsh"
use = ["plugins/{{ name }}"]
[plugins.copyfile]
github = "ohmyzsh/ohmyzsh"
use = ["plugins/{{ name }}"]
[plugins.copypath]
github = "ohmyzsh/ohmyzsh"
use = ["plugins/{{ name }}"]
[plugins.extract]
github = "ohmyzsh/ohmyzsh"
use = ["plugins/{{ name }}"]
apply = ["defer"]
# zsh-utils
[plugins.history]
github = "belak/zsh-utils"
[plugins.utility]
github = "belak/zsh-utils"
[plugins.editor]
local = "~/.config/zsh/plugins/{{ name }}"
# deferred plugins go below
# git-open
[plugins.git-open]
github = "paulirish/git-open"
apply = ["defer"]
# yt-dlp completions and aliases
[plugins.yt-dlp]
github = "clavelm/yt-dlp-omz-plugin"
apply = ["defer"]
# completions learning daemon
[plugins.cod]
github = "dim-an/cod"
apply = ["defer"]
# shift select
[plugins.shift-select]
github = "jirutka/zsh-shift-select"
apply = ["defer"]
# fast syntax highlighting
[plugins.fast-syntax-highlighting]
github = "zdharma-continuum/fast-syntax-highlighting"
apply = ["defer"]
# auto suggestions
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
apply = ["defer"]
# command history searching
[plugins.zsh-history-substring-search]
github = "zsh-users/zsh-history-substring-search"
apply = ["defer"]
# fzf searching plugin
[plugins.fzf-zsh-plugin]
github = "unixorn/fzf-zsh-plugin"
apply = ["defer"]
# git credeeztials manager or something like that
#[plugins.blackbox]
#github = "StackExchange/blackbox"
#apply = ["defer"]

View file

@ -25,13 +25,13 @@
flake-inputs.catppuccin.homeManagerModules.catppuccin
# plasma-manager
flake-inputs.plasma-manager.homeManagerModules.plasma-manager
#flake-inputs.plasma-manager.homeManagerModules.plasma-manager
# user packages
./packages.nix
# plasma config
./desktop.nix
#./desktop.nix
# theme config
./themes.nix
@ -55,6 +55,11 @@
source = ./config/zsh;
recursive = true;
};
# sheldon plugins
home.file.".config/sheldon" = {
source = ./config/sheldon;
recursive = true;
};
# ╭───────────────────────────────────────────────╮
# │ _ __ _ │

View file

@ -35,8 +35,8 @@
sd
zoxide
krabby
#sheldonkdePackages.kdeconnect-kde
cod
atuin
alejandra
usbutils
@ -48,6 +48,11 @@
wgcf
mpdris2
rustc
cargo
openssl
gcc
firefox
thunderbird
birdtray
@ -111,41 +116,54 @@
dotDir = ".config/zsh";
history.size = 50000;
antidote.enable = true;
antidote.plugins = [
# completions
"mattmc3/zephyr path:plugins/completion"
# shell benchmarking
"romkatv/zsh-bench kind:path kind:defer"
# oh my zsh
"ohmyzsh/ohmyzsh path:lib/key-bindings.zsh"
"ohmyzsh/ohmyzsh path:lib/clipboard.zsh"
#"ohmyzsh/ohmyzsh path:lib/completion.zsh"
"ohmyzsh/ohmyzsh path:plugins/copybuffer"
"ohmyzsh/ohmyzsh path:plugins/copyfile"
"ohmyzsh/ohmyzsh path:plugins/copypath"
"ohmyzsh/ohmyzsh path:plugins/extract kind:defer"
# zsh-utils
"belak/zsh-utils path:history"
"belak/zsh-utils path:utility"
"${config.home.homeDirectory}/${config.programs.zsh.dotDir}/plugins/editor"
# useful plugins
"atuinsh/atuin kind:defer"
"paulirish/git-open kind:defer"
"clavelm/yt-dlp-omz-plugin kind:defer"
"dim-an/cod kind:defer"
"jirutka/zsh-shift-select kind:defer"
"unixorn/fzf-zsh-plugin kind:defer"
"zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-autosuggestions kind:defer"
"zsh-users/zsh-history-substring-search kind:defer"
];
# ╭───────────────────────────────────╮
# │ _ _ _ _ │
# │ __ _ _ _| |_(_)__| |___| |_ ___ │
# │ / _` | ' \ _| / _` / _ \ _/ -_) │
# │ \__,_|_||_\__|_\__,_\___/\__\___| │
# │ antidote │
# ╰───────────────────────────────────╯
# NOTE: disables for now to try sheldon
#antidote.enable = true;
#antidote.plugins = [
# # completions
# "mattmc3/zephyr path:plugins/completion"
#
# # shell benchmarking
# "romkatv/zsh-bench kind:path kind:defer"
#
# # oh my zsh
# "ohmyzsh/ohmyzsh path:lib/key-bindings.zsh"
# "ohmyzsh/ohmyzsh path:lib/clipboard.zsh"
# "ohmyzsh/ohmyzsh path:lib/completion.zsh kind:defer"
# "ohmyzsh/ohmyzsh path:plugins/copybuffer kind:defer"
# "ohmyzsh/ohmyzsh path:plugins/copyfile kind:defer"
# "ohmyzsh/ohmyzsh path:plugins/copypath kind:defer"
# "ohmyzsh/ohmyzsh path:plugins/extract kind:defer"
#
# # zsh-utils (modified editor plugin to remove block cursor)
# "belak/zsh-utils path:utility kind:defer"
# "${config.home.homeDirectory}/${config.programs.zsh.dotDir}/plugins/editor"
#
# # useful plugins
# "atuinsh/atuin kind:defer"
# "paulirish/git-open kind:defer"
# "clavelm/yt-dlp-omz-plugin kind:defer"
# "dim-an/cod kind:defer"
# "jirutka/zsh-shift-select kind:defer"
# "unixorn/fzf-zsh-plugin kind:defer"
#
# "zdharma-continuum/fast-syntax-highlighting kind:defer"
# "zsh-users/zsh-autosuggestions kind:defer"
#];
# ╭────────────────────────────╮
# │ _ _ │
# │ __ _| (_)__ _ ___ ___ ___ │
# │ / _` | | / _` (_-</ -_|_-< │
# │ \__,_|_|_\__,_/__/\___/__/ │
# │ aliases │
# ╰────────────────────────────╯
shellAliases = {
# kitty
s = "kitten ssh";
@ -170,6 +188,13 @@
for-the-love-of-god = "sudo";
};
# ╭───────────────────────╮
# │ _ │
# │ _____| |_ _ _ __ │
# │ _|_ (_-< ' \| '_/ _| │
# │ (_)__/__/_||_|_| \__| │
# │ .zshrc / zsh config │
# ╰───────────────────────╯
initExtra = ''
# export some custom paths
# (required for some packages/scripts/applications and some things in here)
@ -179,8 +204,8 @@
# funny pokemon
krabby random
# load zoxide
eval "$(zoxide init zsh)"
# load sheldon
eval "$(sheldon source)"
'';
};
@ -235,6 +260,30 @@
catppuccin.enable = true;
};
# ╭────────────────────────╮
# │ _ _ │
# │ __ _| |_ _ _(_)_ _ │
# │ / _` | _| || | | ' \ │
# │ \__,_|\__|\_,_|_|_||_| │
# │ atuin │
# ╰────────────────────────╯
programs.atuin = {
enable = true;
enableZshIntegration = true;
};
# ╭─────────────────────────╮
# │ _ _ │
# │ ________ _(_)__| |___ │
# │ |_ / _ \ \ / / _` / -_) │
# │ /__\___/_\_\_\__,_\___| │
# │ zoxide │
# ╰─────────────────────────╯
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
# ╭──────────────╮
# │ _ _ │
# │ __ _(_) |_ │