Mercurial > nixos
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 0:face7f4d84f7 | 1:f78c8a98f113 |
|---|---|
| 10 home.homeDirectory = "/home/ivy"; | 10 home.homeDirectory = "/home/ivy"; |
| 11 programs.git.enable = true; | 11 programs.git.enable = true; |
| 12 home.packages = with pkgs; [ | 12 home.packages = with pkgs; [ |
| 13 pkgs.audacious | 13 pkgs.audacious |
| 14 pkgs.vesktop | 14 pkgs.vesktop |
| 15 pkgs.macchina | |
| 16 pkgs.xclip | |
| 15 ]; | 17 ]; |
| 16 nixpkgs.overlays = [ | 18 programs.librewolf.enable = true; |
| 17 (final: prev: { | |
| 18 audacious-bare = prev.audacious-bare.overrideAttrs (old: { | |
| 19 nativeBuildInputs = old.nativeBuildInputs ++ [ final.wrapGAppsHook3 ]; | |
| 20 buildInputs = old.buildInputs ++ [ final.gtk3 ]; | |
| 21 mesonFlags = old.mesonFlags ++ [ "-Dgtk=true" ]; | |
| 22 dontWrapGApps = true; | |
| 23 preFixup = (old.preFixup or "") + '' | |
| 24 qtWrapperArgs+=("''${gappsWrapperArgs[@]}") | |
| 25 ''; | |
| 26 }); | |
| 27 audacious-plugins = prev.audacious-plugins.overrideAttrs (old: { | |
| 28 buildInputs = old.buildInputs ++ [ final.gtk3 ]; | |
| 29 mesonFlags = old.mesonFlags ++ [ "-Dgtk=true" ]; | |
| 30 }); | |
| 31 }) | |
| 32 ]; | |
| 33 home.stateVersion = "26.05"; | 19 home.stateVersion = "26.05"; |
| 34 home.file.".config/alacritty".source = ./config/alacritty; | 20 home.file.".config/alacritty".source = ./config/alacritty; |
| 35 home.file.".config/picom".source = ./config/picom; | 21 home.file.".config/picom".source = ./config/picom; |
| 22 programs.tmux = { | |
| 23 enable = true; | |
| 24 prefix = "C-Space"; | |
| 25 mouse = true; | |
| 26 baseIndex = 1; | |
| 27 keyMode = "vi"; | |
| 28 escapeTime = 0; | |
| 29 historyLimit = 50000; | |
| 30 terminal = "tmux-256color"; | |
| 31 clock24 = true; | |
| 32 | |
| 33 extraConfig = '' | |
| 34 # truecolor for st | |
| 35 set -ga terminal-overrides ",st-256color:RGB" | |
| 36 set -g renumber-windows on | |
| 37 | |
| 38 # splits keep the current directory | |
| 39 bind | split-window -h -c "#{pane_current_path}" | |
| 40 bind - split-window -v -c "#{pane_current_path}" | |
| 41 bind c new-window -c "#{pane_current_path}" | |
| 42 | |
| 43 # vim style pane movement | |
| 44 bind h select-pane -L | |
| 45 bind j select-pane -D | |
| 46 bind k select-pane -U | |
| 47 bind l select-pane -R | |
| 48 | |
| 49 bind r source-file ~/.config/tmux/tmux.conf \; display "reloaded" | |
| 50 | |
| 51 # palette: forest floor, moss, fern, mist | |
| 52 set -g status-style "bg=#0f1a10,fg=#cfe3cf" | |
| 53 set -g status-left-length 30 | |
| 54 set -g status-left "#[bg=#7bc043,fg=#0f1a10,bold] #S #[default] " | |
| 55 set -g status-right "#[fg=#6b7a70]%a %b %d #[bg=#4f9d2d,fg=#0f1a10,bold] %H:%M " | |
| 56 set -g window-status-format "#[fg=#6b7a70] #I #W " | |
| 57 set -g window-status-current-format "#[bg=#2a3f2a,fg=#a5d63f,bold] #I #W " | |
| 58 set -g pane-border-style "fg=#2a3f2a" | |
| 59 set -g pane-active-border-style "fg=#7bc043" | |
| 60 set -g message-style "bg=#7bc043,fg=#0f1a10" | |
| 61 set -g mode-style "bg=#4f9d2d,fg=#0f1a10" | |
| 62 bind -T copy-mode-vi v send -X begin-selection | |
| 63 bind -T copy-mode-vi y send -X copy-pipe-and-cancel "xclip -selection clipboard -i" | |
| 64 bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "xclip -selection clipboard -i" | |
| 65 ''; | |
| 66 }; | |
| 36 } | 67 } |
