remove nix
This commit is contained in:
parent
da0571536b
commit
4fd9616a4c
@ -1,10 +1,17 @@
|
||||
set -g default-terminal "screen-256color"
|
||||
set-option -g default-terminal "screen-256color"
|
||||
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||
|
||||
set-option -g focus-events on
|
||||
set-option -sg escape-time 10
|
||||
|
||||
set -g destroy-unattached
|
||||
|
||||
# remap prefix from 'C-b' to 'C-a'
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
|
||||
# split panes using | and -
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
@ -14,7 +14,8 @@ plugins=(
|
||||
git
|
||||
docker
|
||||
tmux
|
||||
zsh-autosuggestions
|
||||
asdf
|
||||
zsh-autosuggestions
|
||||
)
|
||||
|
||||
eval `dircolors ~/.dircolors`
|
||||
@ -50,6 +51,10 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.asdf" ] ; then
|
||||
. "$HOME/.asdf/asdf.sh"
|
||||
fi
|
||||
|
||||
#If fdfind is installed force fzf to use it
|
||||
if type fdfind &> /dev/null ; then
|
||||
export FZF_DEFAULT_COMMAND='fdfind --type f'
|
||||
@ -67,3 +72,4 @@ fi
|
||||
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
if [ -e /home/jim/.nix-profile/etc/profile.d/nix.sh ]; then . /home/jim/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
|
||||
@ -8,7 +9,6 @@
|
||||
programs.zsh.enable = true;
|
||||
|
||||
home.packages = [
|
||||
pkgs.neovim
|
||||
pkgs.zsh
|
||||
pkgs.direnv
|
||||
|
||||
@ -27,17 +27,36 @@
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import (builtins.fetchTarball {
|
||||
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
|
||||
}))
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
};
|
||||
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "jim";
|
||||
home.homeDirectory = "/home/jim";
|
||||
|
||||
xdg.configFile."nvim/init.lua".source = ./init.lua;
|
||||
home.file.".zshrc".source = ./.zshrc;
|
||||
home.file.".bashrc".source = ./.bashrc;
|
||||
home.file.".p10k.zsh".source = ./.p10k.zsh;
|
||||
home.file.".tmux.conf".source = ./.tmux.conf;
|
||||
home.file.".dircolors".source = ./.dircolors;
|
||||
home.file = {
|
||||
".zshrc".source = ./.zshrc;
|
||||
".bashrc".source = ./.bashrc;
|
||||
".p10k.zsh".source = ./.p10k.zsh;
|
||||
".tmux.conf".source = ./.tmux.conf;
|
||||
".dircolors".source = ./.dircolors;
|
||||
# ".local/share/nvim/site/pack/paqs/start/paq-nvim".source = pkgs.fetchzip {
|
||||
# url = "https://github.com/savq/paq-nvim/archive/refs/heads/master.zip";
|
||||
# };
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"nvim/init.lua".source = ./init.lua;
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
|
@ -7,7 +7,7 @@ local cmd = vim.cmd
|
||||
require("install-paq")
|
||||
|
||||
local paq = require("paq")
|
||||
paq:setup {
|
||||
paq:setup ({verbose = true}) {
|
||||
"savq/paq-nvim", -- Let Paq manage itself
|
||||
-- General Helper Function
|
||||
"nvim-lua/plenary.nvim",
|
||||
@ -26,6 +26,7 @@ paq:setup {
|
||||
"junegunn/fzf",
|
||||
"nvim-lua/popup.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"windwp/nvim-autopairs",
|
||||
-- For better git support
|
||||
"tpope/vim-fugitive",
|
||||
-- Postman like featuresi
|
||||
@ -55,7 +56,7 @@ paq:setup {
|
||||
if u.has_plugin("cmp") then
|
||||
-- Global options
|
||||
o.number = true
|
||||
o.tabstop = 8
|
||||
o.tabstop = 2
|
||||
o.shiftwidth = 2 -- Indents will have a width of 4
|
||||
o.softtabstop = 2 -- Sets the number of columns for a TAB
|
||||
o.expandtab = false -- Dont expand TABs to spaces
|
||||
@ -140,6 +141,8 @@ if u.has_plugin("cmp") then
|
||||
}
|
||||
}
|
||||
|
||||
require'nvim-autopairs'.setup()
|
||||
|
||||
-- Treesitter config
|
||||
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
parser_configs.http = {
|
||||
@ -218,5 +221,7 @@ if u.has_plugin("cmp") then
|
||||
|
||||
else
|
||||
paq.install()
|
||||
u.ReloadConfig()
|
||||
paq.list()
|
||||
print "Installed Packages"
|
||||
-- u.ReloadConfig()
|
||||
end
|
||||
|
1
configs/lua/lua
Symbolic link
1
configs/lua/lua
Symbolic link
@ -0,0 +1 @@
|
||||
/home/jim/.dotfiles/configs/lua
|
7
setup.sh
7
setup.sh
@ -105,6 +105,13 @@ if [ "$INST_ASDF" = true ]; then
|
||||
[[ "$INST_RUST" = true ]] && asdfInstall rust
|
||||
fi
|
||||
|
||||
echo "-- linking .dotfiles --"
|
||||
|
||||
linkFile .bashrc
|
||||
linkFile .p10k.zsh
|
||||
linkFile .dircolors
|
||||
linkFile .tmux.conf
|
||||
|
||||
if [ "$INST_ZSH" = true ]; then
|
||||
echo "-- installing oh-my-zsh --"
|
||||
linkFile .zshrc
|
||||
|
Loading…
Reference in New Issue
Block a user