this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tmux in home manager

+124 -21
-8
Brewfile
··· 94 94 brew "openconnect" 95 95 96 96 # TUIs 97 - brew "tmux" 98 - brew "tmuxinator" 99 - tap "cjbassi/ytop" 100 - brew "cjbassi/ytop/ytop" 101 97 brew "k9s" 102 98 brew "lazydocker" 103 99 brew "lazygit" ··· 111 107 brew "gh" 112 108 brew "glab" 113 109 brew "mas" 114 - 115 - # Fonts 116 - tap "homebrew/cask-fonts" 117 - cask "font-iosevka-nerd-font" 118 110 119 111 # Libs 120 112 brew "yubikey-personalization"
+124
home.nix
··· 1 + { config, pkgs, ... }: 2 + 3 + { 4 + home.username = "sethetter"; 5 + home.homeDirectory = "/Users/sethetter"; 6 + 7 + # This value determines the Home Manager release that your configuration is 8 + # compatible with. This helps avoid breakage when a new Home Manager release 9 + # introduces backwards incompatible changes. 10 + # 11 + # You should not change this value, even if you update Home Manager. If you do 12 + # want to update the value, then make sure to first check the Home Manager 13 + # release notes. 14 + home.stateVersion = "24.05"; # Please read the comment before changing. 15 + 16 + nix = { 17 + package = pkgs.nix; 18 + settings.experimental-features = [ "nix-command" "flakes" ]; 19 + }; 20 + 21 + programs.fd.enable = true; 22 + 23 + # programs.zsh = { 24 + # enable = true; 25 + # oh-my-zsh = { 26 + # enable = true; 27 + # theme = "robbyrussell"; 28 + # plugins = [ 29 + # "git" 30 + # "vi-mode" 31 + # "fzf" 32 + # "asdf" 33 + # ]; 34 + # }; 35 + # }; 36 + 37 + programs.tmux = { 38 + enable = true; 39 + shortcut = "a"; 40 + escapeTime = 10; 41 + baseIndex = 1; 42 + terminal = "alacritty"; 43 + keyMode = "vi"; 44 + sensibleOnTop = true; 45 + tmuxp.enable = true; 46 + 47 + plugins = with pkgs; [ 48 + tmuxPlugins.sessionist 49 + tmuxPlugins.yank 50 + tmuxPlugins.tmux-fzf 51 + tmuxPlugins.pain-control 52 + ]; 53 + 54 + extraConfig = '' 55 + set -g renumber-windows on 56 + 57 + setw -g monitor-activity on 58 + set -g visual-activity off 59 + 60 + set -g window-status-separator " " 61 + set -g status-justify centre 62 + set -g status-left-length 40 63 + set -g status-style 'fg=green,none' 64 + set -g window-status-format ' #I #W #F ' 65 + set -g window-status-current-style 'fg=darkgreen,bold' 66 + set -g window-status-activity-style 'default,default,default' 67 + set -g status-left ' 🤘 #[bold]#S #[default]#I:#P ' 68 + set -g status-right '#H | %m/%d/%y | %I:%M ' 69 + 70 + bind-key -n C-Space resize-pane -Z 71 + 72 + # Saner splitting. 73 + bind v split-window -h -l 50% 74 + bind s split-window -v -l 50% 75 + 76 + # Better name management 77 + bind c new-window 78 + bind , command-prompt "rename-window '%%'" 79 + ''; 80 + }; 81 + 82 + # The home.packages option allows you to install Nix packages into your 83 + # environment. 84 + home.packages = with pkgs; [ 85 + htop-vim 86 + jujutsu 87 + (nerdfonts.override { fonts = [ "Iosevka" ]; }) 88 + ]; 89 + 90 + home.file = { 91 + # # Building this configuration will create a copy of 'dotfiles/screenrc' in 92 + # # the Nix store. Activating the configuration will then make '~/.screenrc' a 93 + # # symlink to the Nix store copy. 94 + # ".screenrc".source = dotfiles/screenrc; 95 + 96 + # # You can also set the file content immediately. 97 + # ".gradle/gradle.properties".text = '' 98 + # org.gradle.console=verbose 99 + # org.gradle.daemon.idletimeout=3600000 100 + # ''; 101 + }; 102 + 103 + # Home Manager can also manage your environment variables through 104 + # 'home.sessionVariables'. These will be explicitly sourced when using a 105 + # shell provided by Home Manager. If you don't want to manage your shell 106 + # through Home Manager then you have to manually source 'hm-session-vars.sh' 107 + # located at either 108 + # 109 + # ~/.nix-profile/etc/profile.d/hm-session-vars.sh 110 + # 111 + # or 112 + # 113 + # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh 114 + # 115 + # or 116 + # 117 + # /etc/profiles/per-user/sethetter/etc/profile.d/hm-session-vars.sh 118 + home.sessionVariables = { 119 + EDITOR = "vim"; 120 + }; 121 + 122 + # Let Home Manager install and manage itself. 123 + programs.home-manager.enable = true; 124 + }
-1
playbooks/main.yml
··· 7 7 roles: 8 8 - role: "./roles/programs" 9 9 - role: "./roles/zsh" 10 - - role: "./roles/tmux" 11 10 - role: "./roles/git" 12 11 - role: "./roles/vim" 13 12 - role: "./roles/vscode"
-12
playbooks/roles/tmux/tasks/main.yml
··· 1 - - name: link-tmux-conf 2 - ansible.builtin.file: 3 - src: "{{ dotfiles_dir }}/misc/tmux.conf" 4 - dest: "{{ home_dir }}/.tmux.conf" 5 - state: link 6 - force: true 7 - 8 - - name: install-tpm 9 - ansible.builtin.git: 10 - repo: "https://github.com/tmux-plugins/tpm" 11 - dest: "{{ home_dir }}/.tmux/plugins/tpm" 12 - update: true