Compare commits

...

2 Commits

Author SHA1 Message Date
Eli Ribble 9a648d903e Add some vim and tmux configs
I'm getting my feet wet with home-manager configuration files.
2024-10-23 09:19:44 -07:00
Eli Ribble 6e67b13b5b Add support for nfs mounts 2024-10-23 09:18:32 -07:00
3 changed files with 49 additions and 0 deletions

View File

@ -13,6 +13,8 @@
]; ];
# Bootloader. # Bootloader.
boot.supportedFilesystems = [ "nfs" ];
boot.kernelModules = [ "nfs" ];
# Disable PSR according to # Disable PSR according to
# https://bbs.archlinux.org/viewtopic.php?pid=2191514#p2191514 # https://bbs.archlinux.org/viewtopic.php?pid=2191514#p2191514
boot.kernelParams = [ boot.kernelParams = [
@ -52,6 +54,17 @@
home.stateVersion = "24.05"; home.stateVersion = "24.05";
home.username = "eliribble"; home.username = "eliribble";
home.file.".config/nvim/after/ftplugin/html.vim".source = ./home/eliribble/config/nvim/after/ftplugin/html.vim; 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;
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
#plugins = [
#{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
#];
};
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Eli Ribble"; userName = "Eli Ribble";
@ -103,6 +116,9 @@
(pkgs.writeTextDir "share/cups/model/Brother_HL-L8250CDN.ppd" (builtins.readFile ./Brother_HL-L8250CDN.ppd)) (pkgs.writeTextDir "share/cups/model/Brother_HL-L8250CDN.ppd" (builtins.readFile ./Brother_HL-L8250CDN.ppd))
]; ];
# Enable rpcbind for nfs mounting
services.rpcbind.enable = true;
# Enable the X11 windowing system. # Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session. # You can disable this if you're only using the Wayland session.
services.xserver.enable = true; services.xserver.enable = true;
@ -185,6 +201,7 @@
mosh mosh
mumble mumble
ndisc6 ndisc6
nfs-utils
neovim neovim
om4 om4
poetry poetry

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,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