Add personal config files through home-manager

I'm doing more development on this server, it's nice to have my configs.
This commit is contained in:
Eli Ribble 2025-01-13 06:26:32 -07:00
parent 5421eccc0b
commit 37c8d92d05
4 changed files with 52 additions and 0 deletions

View File

@ -8,6 +8,8 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Include the home-manager configuration
<home-manager/nixos>
inputs.sovr.nixosModules.default
];
@ -29,6 +31,15 @@
inputs.sovr.packages."${pkgs.system}".sovr-server
];
home-manager.useGlobalPkgs = true;
home-manager.users.eliribble = {
home.file.".config/nvim/after/ftplugin/html.vim".source = ./home/eliribble/config/nvim/after/ftplugin/html.vim;
home.file.".config/nvim/after/ftplugin/go.vim".source = ./home/eliribble/config/nvim/after/ftplugin/go.vim;
home.file.".config/tmux/tmux.conf".source = ./home/eliribble/config/tmux/tmux.conf;
home.homeDirectory = "/home/eliribble";
home.stateVersion = "24.11";
home.username = "eliribble";
};
i18n.defaultLocale = "en_US.UTF-8";
networking = {

View File

@ -0,0 +1,10 @@
set indentexpr=
set noautoindent
set nocindent
set noexpandtab
set nosmartindent
set nosmarttab
set nu
set shiftwidth=4
set tabstop=4
filetype indent off

View File

@ -0,0 +1,9 @@
set indentexpr=
set noautoindent
set nocindent
set noexpandtab
set nosmartindent
set nosmarttab
set nu
set tabstop=2
filetype indent off

View File

@ -0,0 +1,22 @@
set-option -g default-command fish
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# nested tmux, obey me
bind-key a send-prefix
# Avoid the annoying bit of delay when using the control character
set -g escape-time 0
set -g renumber-windows on
# Show a visual bell, even on other windows
set-window-option -g visual-bell both
set-window-option -g bell-action other
# Set up the window visuals
set -g window-status-style bg=yellow
set -g window-status-current-style bg=red,fg=white