move programs in modules such that base.nix il a basic configuration
All checks were successful
/ build-all (push) Successful in 1m37s
All checks were successful
/ build-all (push) Successful in 1m37s
This commit is contained in:
parent
d43ece8ac4
commit
05bbe7463b
8 changed files with 162 additions and 174 deletions
|
|
@ -1,10 +1,8 @@
|
|||
{ inputs, config, lib, pkgs, ... }:
|
||||
{ inputs, config, lib, pkgs, pkgs-unstable, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./lf.nix
|
||||
./fish.nix
|
||||
./terminal-software.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
@ -15,25 +13,10 @@
|
|||
home.stateVersion = "23.05"; # Please read the comment before changing.
|
||||
|
||||
home.packages = with pkgs; [
|
||||
signal-desktop
|
||||
open-in-mpv
|
||||
(python313.withPackages (pp: with pp; [
|
||||
numpy
|
||||
matplotlib
|
||||
]))
|
||||
# bluez
|
||||
go-mtpfs
|
||||
xdg-utils
|
||||
davfs2
|
||||
file
|
||||
python3
|
||||
sshfs
|
||||
ghc
|
||||
yt-dlp
|
||||
aria2
|
||||
yazi
|
||||
ncdu
|
||||
ripgrep
|
||||
android-tools
|
||||
scrcpy
|
||||
];
|
||||
|
||||
|
||||
|
|
@ -93,5 +76,46 @@
|
|||
extraConfig = {
|
||||
pull.rebase = true;
|
||||
};
|
||||
userName = config.home.username;
|
||||
userEmail = "${config.home.username}@domain.xyz";
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
defaultEditor = true;
|
||||
package = pkgs-unstable.neovim-unwrapped;
|
||||
extraPackages = with pkgs; [
|
||||
gcc
|
||||
];
|
||||
};
|
||||
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
historyLimit = 60000;
|
||||
escapeTime = 10;
|
||||
keyMode = "vi";
|
||||
mouse = true;
|
||||
terminal = "tmux-256color";
|
||||
extraConfig = ''
|
||||
unbind-key 'Space'
|
||||
bind-key 'Space' copy-mode
|
||||
set -g status-right "#{net_speed} #{cpu_percentage}"
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
|
||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
|
||||
run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||
|
||||
set-option -a terminal-features 'st-256color:RGB'
|
||||
set-option -g focus-events on
|
||||
'';
|
||||
plugins = with pkgs.tmuxPlugins; [ net-speed ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue