forked from dea/dea-files
fixed hostname (ty butterfly), code cleanup
This commit is contained in:
parent
94fc124686
commit
44adc7ddd4
8 changed files with 15 additions and 57 deletions
|
|
@ -4,6 +4,8 @@ alias eep='systemctl suspend'
|
|||
alias hibernate='systemctl hybrid-sleep'
|
||||
alias restart='systemctl reboot'
|
||||
alias shutdown='systemctl poweroff'
|
||||
alias vim='dvim'
|
||||
alias nvim='dvim'
|
||||
rebuild() {
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
|
|
@ -12,4 +14,4 @@ rebuild() {
|
|||
sudo nixos-rebuild switch --flake ~/dea-files#"$1"
|
||||
fi
|
||||
}
|
||||
[ -f "/home/dea/.ghcup/env" ] && . "/home/dea/.ghcup/env" # ghcup-env
|
||||
[ -f "/home/dea/.ghcup/env" ] && . "/home/dea/.ghcup/env" # ghcup-env
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ in
|
|||
nvim-web-devicons
|
||||
base16-nvim
|
||||
mini-nvim
|
||||
#orgmode
|
||||
orgmode
|
||||
|
||||
(pkgs.vimUtils.buildVimPlugin {
|
||||
pname = "candyland-nvim";
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
candyland-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||
pname = "candyland-nvim";
|
||||
version = "1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "AmberLehmann";
|
||||
repo = "candyland.nvim";
|
||||
rev = "neovim-colorscheme";
|
||||
hash = "sha256-KEHMnpyJOhdF8ZPWuKF3uP7UX5fnzE31LMe+XxHK+i8=";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
|
||||
# Your settings need to go into the settings attribute set
|
||||
# most settings are documented in the appendix
|
||||
settings = {
|
||||
vim.viAlias = false;
|
||||
vim = {
|
||||
vimAlias = true;
|
||||
lsp.enable = true;
|
||||
extraPlugins.candyland-nvim = {
|
||||
package = candyland-nvim;
|
||||
setup = "vim.cmd([[colorscheme candyland]])";
|
||||
};
|
||||
notes = {
|
||||
orgmode = {
|
||||
enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
todo-comments.enable = true;
|
||||
};
|
||||
theme.enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue