view home.nix @ 3:84d6074a5566

Fix: forgot to hg add
author Yasuri <yasuri@charliesmp.net>
date Sat, 03 Oct 2026 19:15:32 -0500
parents a2c891f7b914
children 7c8c5e548075
line wrap: on
line source

{ config, pkgs, ... }:

{
	imports = [
		./modules/suckless.nix
		./zsh.nix
		./modules/neovim.nix
	];
    home.username = "ivy";
    home.homeDirectory = "/home/ivy";
    programs.git.enable = true;
    home.packages = with pkgs; [
     pkgs.audacious
     pkgs.vesktop
     pkgs.macchina
     pkgs.xclip
     pkgs.btop
     pkgs.libsForQt5.qtstyleplugin-kvantum 
     (pkgs.callPackage ./modules/dwmbar.nix { })
     pkgs.cmatrix
     pkgs.cava
     pkgs.lavat
    ];
    programs.librewolf.enable = true;
    home.stateVersion = "26.05";
    home.file.".config/alacritty".source = ./config/alacritty;
    home.file.".config/picom".source = ./config/picom;
    qt = {
  enable = true;
  platformTheme.name = "qtct";
  style.name = "kvantum";
  kvantum = {
    themes = [ pkgs.rose-pine-kvantum ];
    settings.General.theme = "rose-pine-iris";
  };
  qt5ctSettings.Appearance.style = "kvantum";
  qt6ctSettings.Appearance.style = "kvantum";
};

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: near black, slate outline, store path blue
    set -g status-style "bg=#131313,fg=#a9c7ee"
    set -g status-left-length 30
    set -g status-left "#[bg=#5277c3,fg=#eef4ff,bold] #S #[default] "
    set -g status-right "#[fg=#4a4a63]%a %b %d #[bg=#7ebae4,fg=#131313,bold] %H:%M "
    set -g window-status-format "#[fg=#4a4a63] #I #W "
    set -g window-status-current-format "#[bg=#222222,fg=#7ebae4,bold] #I #W "
    set -g pane-border-style "fg=#363648"
    set -g pane-active-border-style "fg=#5277c3"
    set -g message-style "bg=#5277c3,fg=#eef4ff"
    set -g mode-style "bg=#5277c3,fg=#eef4ff"

    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"
  '';
};
}