wip
This commit is contained in:
16
home-manager/home-bat.nix
Normal file
16
home-manager/home-bat.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
pkgs:
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];
|
||||||
|
config = {
|
||||||
|
theme = "catppuccin-macchiato";
|
||||||
|
};
|
||||||
|
themes = {
|
||||||
|
catppuccin-macchiato = builtins.readFile (pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "sublime-text"; # Bat uses sublime syntax for its themes
|
||||||
|
rev = "3d8625d937d89869476e94bc100192aa220ce44a";
|
||||||
|
sha256 = "3ABUsfJpb6RO6AiuuSL5gwDofJIwC5tlEMzBrlY9/s0=";
|
||||||
|
} + "/Macchiato.tmTheme");
|
||||||
|
};
|
||||||
|
}
|
||||||
8
home-manager/home-fzf.nix
Normal file
8
home-manager/home-fzf.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
defaultCommand = "fd --type f";
|
||||||
|
fileWidgetCommand = "fd --type f";
|
||||||
|
fileWidgetOptions = "--preview 'bat --color=always --style=numbers --line-range=:500 {}'";
|
||||||
|
changeDirWidgetCommand = "fd --type d";
|
||||||
|
tmux.enableShellIntegration = true;
|
||||||
|
}
|
||||||
@@ -9,6 +9,5 @@
|
|||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||||
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
||||||
set -g status off
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
home.sessionVariables.TEST = "foo";
|
home.sessionVariables.TEST = "foo";
|
||||||
home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
|
home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
|
||||||
|
home.sessionVariables.BAT_THEME = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
# pkgs.apacheKafka
|
# pkgs.apacheKafka
|
||||||
@@ -15,6 +16,7 @@
|
|||||||
pkgs.awscli
|
pkgs.awscli
|
||||||
pkgs.emacs
|
pkgs.emacs
|
||||||
pkgs.fd
|
pkgs.fd
|
||||||
|
pkgs.fend
|
||||||
# pkgs.ghc
|
# pkgs.ghc
|
||||||
# pkgs.go
|
# pkgs.go
|
||||||
# pkgs.haskellPackages.cabal-install
|
# pkgs.haskellPackages.cabal-install
|
||||||
@@ -41,6 +43,7 @@
|
|||||||
# pkgs.rustup
|
# pkgs.rustup
|
||||||
# pkgs.sbcl
|
# pkgs.sbcl
|
||||||
# pkgs.source-code-pro
|
# pkgs.source-code-pro
|
||||||
|
pkgs.tokei
|
||||||
# pkgs.xonsh
|
# pkgs.xonsh
|
||||||
pkgs.yarn
|
pkgs.yarn
|
||||||
# pkgs.zellij
|
# pkgs.zellij
|
||||||
|
|||||||
Reference in New Issue
Block a user