2 Commits

Author SHA1 Message Date
0xWheatyz 198cfbc9e4 fix: correct flake configuration and remove duplicate home-manager setup
- Update flake.nix with correct hostname (nixos) and username (l-wyatt)
- Remove channel-based home-manager imports from configuration.nix
- Eliminate duplicate home-manager.users configuration
- Ensures flake-based home-manager works properly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-12 21:36:18 -04:00
0xWheatyz 02c3366bff feat: replace zellij with tmux for terminal multiplexing
Switch from zellij to tmux with vi keybindings, mouse support, and custom prefix (Ctrl-a). Updates auto-start logic in zsh to launch tmux instead of zellij.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-12 21:34:28 -04:00
3 changed files with 29 additions and 17 deletions
+1 -4
View File
@@ -8,7 +8,6 @@
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
<home-manager/nixos>
];
## Commented out as defined at the end of the page
@@ -94,9 +93,7 @@
linger = true;
extraGroups = [ "networkmanager" "wheel" "docker" "dialout" ];
};
home-manager.users.l-wyatt = import /home/l-wyatt/.config/home-manager/home.nix;
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
+2 -2
View File
@@ -30,7 +30,7 @@
outputs = { self, nixpkgs, home-manager, ... }: {
nixosConfigurations = {
yourhostname = nixpkgs.lib.nixosSystem {
nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
@@ -38,7 +38,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.yourusername = import ./home.nix;
home-manager.users.l-wyatt = import ./home.nix;
}
];
};
+26 -11
View File
@@ -81,9 +81,9 @@
if [ -n "$NIX_PROJECT_SHELL" ]; then
PROMPT="($NIX_PROJECT_SHELL)$PROMPT"
fi
# Only start Zellij if we're in an interactive terminal
if [ -z "$ZELLIJ" ] && [ "$TERM" != "linux" ]; then
exec zellij
# Only start tmux if we're in an interactive terminal
if [ -z "$TMUX" ] && [ "$TERM" != "linux" ]; then
exec tmux
fi
'';
@@ -102,16 +102,31 @@
};
};
# Enable zellij (terminal multiplexing)
programs.zellij = {
# Enable tmux (terminal multiplexing)
programs.tmux = {
enable = true;
# Optional: write your own config to ~/.config/zellij/config.kdl
settings = {
theme = "default";
pane_frames = true;
default_layout = "compact";
};
# Basic tmux configuration
terminal = "screen-256color";
historyLimit = 10000;
keyMode = "vi";
mouse = true;
extraConfig = ''
# Set prefix to Ctrl-a instead of Ctrl-b
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Reload config file
bind r source-file ~/.config/tmux/tmux.conf
'';
};
# Neovim management