Mercurial > nixos
diff home.nix @ 1:f78c8a98f113
Add new stuff and remove useless overlay in home.nix
| author | Yasuri <yasuri@charliesmp.net> |
|---|---|
| date | Fri, 02 Oct 2026 18:58:29 -0500 |
| parents | face7f4d84f7 |
| children | a2c891f7b914 |
line wrap: on
line diff
--- a/home.nix Mon Sep 28 13:10:19 2026 -0500 +++ b/home.nix Fri Oct 02 18:58:29 2026 -0500 @@ -12,25 +12,56 @@ home.packages = with pkgs; [ pkgs.audacious pkgs.vesktop + pkgs.macchina + pkgs.xclip ]; - nixpkgs.overlays = [ - (final: prev: { - audacious-bare = prev.audacious-bare.overrideAttrs (old: { - nativeBuildInputs = old.nativeBuildInputs ++ [ final.wrapGAppsHook3 ]; - buildInputs = old.buildInputs ++ [ final.gtk3 ]; - mesonFlags = old.mesonFlags ++ [ "-Dgtk=true" ]; - dontWrapGApps = true; - preFixup = (old.preFixup or "") + '' - qtWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - }); - audacious-plugins = prev.audacious-plugins.overrideAttrs (old: { - buildInputs = old.buildInputs ++ [ final.gtk3 ]; - mesonFlags = old.mesonFlags ++ [ "-Dgtk=true" ]; - }); - }) - ]; + programs.librewolf.enable = true; home.stateVersion = "26.05"; home.file.".config/alacritty".source = ./config/alacritty; home.file.".config/picom".source = ./config/picom; + programs.tmux = { + enable = true; + prefix = "C-Space"; + mouse = true; + baseIndex = 1; + keyMode = "vi"; + escapeTime = 0; + historyLimit = 50000; + terminal = "tmux-256color"; + clock24 = true; + + extraConfig = '' + # truecolor for st + set -ga terminal-overrides ",st-256color:RGB" + set -g renumber-windows on + + # splits keep the current directory + bind | split-window -h -c "#{pane_current_path}" + bind - split-window -v -c "#{pane_current_path}" + bind c new-window -c "#{pane_current_path}" + + # vim style pane movement + bind h select-pane -L + bind j select-pane -D + bind k select-pane -U + bind l select-pane -R + + bind r source-file ~/.config/tmux/tmux.conf \; display "reloaded" + + # palette: forest floor, moss, fern, mist + set -g status-style "bg=#0f1a10,fg=#cfe3cf" + set -g status-left-length 30 + set -g status-left "#[bg=#7bc043,fg=#0f1a10,bold] #S #[default] " + set -g status-right "#[fg=#6b7a70]%a %b %d #[bg=#4f9d2d,fg=#0f1a10,bold] %H:%M " + set -g window-status-format "#[fg=#6b7a70] #I #W " + set -g window-status-current-format "#[bg=#2a3f2a,fg=#a5d63f,bold] #I #W " + set -g pane-border-style "fg=#2a3f2a" + set -g pane-active-border-style "fg=#7bc043" + set -g message-style "bg=#7bc043,fg=#0f1a10" + set -g mode-style "bg=#4f9d2d,fg=#0f1a10" + bind -T copy-mode-vi v send -X begin-selection +bind -T copy-mode-vi y send -X copy-pipe-and-cancel "xclip -selection clipboard -i" +bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "xclip -selection clipboard -i" + ''; +}; }
