random rice
This commit is contained in:
parent
f080730c99
commit
60613b0a1d
17 changed files with 221 additions and 143 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, host, ...}: {
|
||||
{pkgs, ...}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
|
|
@ -6,17 +6,21 @@
|
|||
set show_startup_tips false
|
||||
'';
|
||||
shellInit = "
|
||||
fish_add_path /usr/local/go/bin
|
||||
fish_add_path ~/go/bin
|
||||
fish_add_path ~/.local/bin
|
||||
set -gx MANPAGER 'nvim +Man!'
|
||||
set -gx EDITOR 'nvim'
|
||||
set -gx _JAVA_AWT_WM_NONREPARENTING 1
|
||||
set -gx NIX_FLAKE '/home/e/dev/nix'
|
||||
set -gx NH_FLAKE '/home/e/dev/nix'
|
||||
";
|
||||
plugins = [
|
||||
{name = "fzf"; inherit (pkgs.fishPlugins.fzf-fish) src;}
|
||||
{name = "puffer"; inherit (pkgs.fishPlugins.puffer) src;}
|
||||
{
|
||||
name = "fzf";
|
||||
inherit (pkgs.fishPlugins.fzf-fish) src;
|
||||
}
|
||||
{
|
||||
name = "puffer";
|
||||
inherit (pkgs.fishPlugins.puffer) src;
|
||||
}
|
||||
];
|
||||
functions = import ./functions.nix;
|
||||
shellAbbrs = {
|
||||
|
|
@ -25,14 +29,11 @@
|
|||
};
|
||||
shellAliases = {
|
||||
":q" = "exit";
|
||||
hms = "home-manager switch --flake $NIX_FLAKE#${host.username}";
|
||||
rbs = "sudo nixos-rebuild switch --flake $NIX_FLAKE#${host.hostName}";
|
||||
mpv = "mpv --no-keepaspect-window";
|
||||
cat = "bat -pp";
|
||||
tcd = "cd $(mktemp -d)";
|
||||
docker = "nerdctl";
|
||||
vimdiff = "nvim -d";
|
||||
ls = "eza";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue