Wed Mar 5 14:20:06 EET 2025
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
shell = {
|
shell = {
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
nushell.enable = false;
|
#nushell.enable = true;
|
||||||
oh-my-posh.enable = true;
|
oh-my-posh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -50,15 +50,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alejandra # nix formatter
|
alejandra # nix formatter in rust
|
||||||
flatpak # flatpak cli
|
flatpak # flatpak cli
|
||||||
trashy # trash cli
|
trashy # trash cli in rust
|
||||||
|
devenv # programming deps in rust
|
||||||
procs # ps in rust
|
procs # ps in rust
|
||||||
ouch # archive manager in runt
|
ouch # archive manager in runt
|
||||||
dust # du in rust
|
dust # du in rust
|
||||||
fend # calc in rust
|
fend # calc in rust
|
||||||
moar # better pager
|
moar # better pager (in go)
|
||||||
tree # tree util
|
just # make in rust
|
||||||
rbw # bitwarden cli in rust
|
rbw # bitwarden cli in rust
|
||||||
pinentry-qt # pinentry for rbw
|
pinentry-qt # pinentry for rbw
|
||||||
vial # qmk keyboard configuring app
|
vial # qmk keyboard configuring app
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
shell = {
|
shell = {
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
nushell.enable = false;
|
#nushell.enable = true;
|
||||||
oh-my-posh.enable = true;
|
oh-my-posh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
console.yazi.enable = true;
|
console.yazi.enable = true;
|
||||||
|
|
||||||
stylix.targets.fzf.enable = false;
|
stylix.targets.fzf.enable = false;
|
||||||
|
services.ssh-agent.enable = true;
|
||||||
programs = {
|
programs = {
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
btop = {
|
btop = {
|
||||||
@ -49,15 +50,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alejandra # nix formatter
|
alejandra # nix formatter in rust
|
||||||
flatpak # flatpak cli
|
flatpak # flatpak cli
|
||||||
trashy # trash cli
|
trashy # trash cli in rust
|
||||||
|
devenv # programming deps in rust
|
||||||
procs # ps in rust
|
procs # ps in rust
|
||||||
ouch # archive manager in runt
|
ouch # archive manager in runt
|
||||||
dust # du in rust
|
dust # du in rust
|
||||||
fend # calc in rust
|
fend # calc in rust
|
||||||
moar # better pager
|
moar # better pager (in go)
|
||||||
tree # tree util
|
just # make in rust
|
||||||
rbw # bitwarden cli in rust
|
rbw # bitwarden cli in rust
|
||||||
pinentry-qt # pinentry for rbw
|
pinentry-qt # pinentry for rbw
|
||||||
vial # qmk keyboard configuring app
|
vial # qmk keyboard configuring app
|
||||||
|
@ -407,6 +407,12 @@ in {
|
|||||||
"noblur, title:TelegramDesktop"
|
"noblur, title:TelegramDesktop"
|
||||||
"float, title:TelegramDesktop"
|
"float, title:TelegramDesktop"
|
||||||
"pin, title:TelegramDesktop"
|
"pin, title:TelegramDesktop"
|
||||||
|
# any chromium-based
|
||||||
|
"noborder, title:Картинка в картинці"
|
||||||
|
"keepaspectratio, title:Картинка в картинці"
|
||||||
|
"noblur, title:Картинка в картинці"
|
||||||
|
"float, title:Картинка в картинці"
|
||||||
|
"pin, title:Картинка в картинці"
|
||||||
# screenshot editor
|
# screenshot editor
|
||||||
"noanim, class:com.gabm.satty"
|
"noanim, class:com.gabm.satty"
|
||||||
"float, class:com.gabm.satty"
|
"float, class:com.gabm.satty"
|
||||||
|
@ -18,6 +18,7 @@ in {
|
|||||||
"nix"
|
"nix"
|
||||||
"latex"
|
"latex"
|
||||||
"typst"
|
"typst"
|
||||||
|
"justfile"
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
vim_mode = true;
|
vim_mode = true;
|
||||||
|
@ -21,6 +21,8 @@ in {
|
|||||||
# };
|
# };
|
||||||
eza.enable = true;
|
eza.enable = true;
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
|
direnv.enable = true;
|
||||||
|
nix-your-shell.enable = true;
|
||||||
fish = {
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
# pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
@ -14,40 +14,24 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs = {
|
programs = {
|
||||||
atuin = {
|
atuin = {
|
||||||
enable = true;
|
enable = false;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
flags = [
|
flags = [
|
||||||
"--disable-up-arrow"
|
"--disable-up-arrow"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
carapace = {
|
carapace.enable = true;
|
||||||
enable = true;
|
zoxide.enable = true;
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
|
||||||
zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
|
||||||
oh-my-posh.enableNushellIntegration = true;
|
oh-my-posh.enableNushellIntegration = true;
|
||||||
keychain = {
|
|
||||||
enable = true;
|
|
||||||
keys = ["id_ed25519"];
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
extraFlags = [
|
|
||||||
"--quiet"
|
|
||||||
"--noask"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
nushell = {
|
nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
CARAPACE_BRIDGES = "zsh,fish,bash,inshellisense";
|
CARAPACE_BRIDGES = "fish";
|
||||||
CARAPACE_MATCH = 1;
|
CARAPACE_MATCH = 1;
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cd = "z";
|
cd = "z";
|
||||||
cat = "bat";
|
|
||||||
la = "ls -a";
|
la = "ls -a";
|
||||||
l = "ls -la";
|
l = "ls -la";
|
||||||
nix-shell = "nix-shell --command nu";
|
nix-shell = "nix-shell --command nu";
|
||||||
@ -56,39 +40,18 @@ in {
|
|||||||
$env.config = {
|
$env.config = {
|
||||||
show_banner: false
|
show_banner: false
|
||||||
shell_integration: {
|
shell_integration: {
|
||||||
# osc2 abbreviates the path if in the home_dir, sets the tab/window title, shows the running command in the tab/window title
|
|
||||||
osc2: true
|
osc2: true
|
||||||
# osc7 is a way to communicate the path to the terminal, this is helpful for spawning new tabs in the same directory
|
|
||||||
osc7: true
|
osc7: true
|
||||||
# osc8 is also implemented as the deprecated setting ls.show_clickable_links, it shows clickable links in ls output if your terminal supports it. show_clickable_links is deprecated in favor of osc8
|
|
||||||
osc8: true
|
osc8: true
|
||||||
# osc9_9 is from ConEmu and is starting to get wider support. It's similar to osc7 in that it communicates the path to the terminal
|
|
||||||
osc9_9: false
|
osc9_9: false
|
||||||
# osc133 is several escapes invented by Final Term which include the supported ones below.
|
|
||||||
# 133;A - Mark prompt start
|
|
||||||
# 133;B - Mark prompt end
|
|
||||||
# 133;C - Mark pre-execution
|
|
||||||
# 133;D;exit - Mark execution finished with exit code
|
|
||||||
# This is used to enable terminals to know where the prompt is, the command is, where the command finishes, and where the output of the command is
|
|
||||||
osc133: true
|
osc133: true
|
||||||
# osc633 is closely related to osc133 but only exists in visual studio code (vscode) and supports their shell integration features
|
|
||||||
# 633;A - Mark prompt start
|
|
||||||
# 633;B - Mark prompt end
|
|
||||||
# 633;C - Mark pre-execution
|
|
||||||
# 633;D;exit - Mark execution finished with exit code
|
|
||||||
# 633;E - Explicitly set the command line with an optional nonce
|
|
||||||
# 633;P;Cwd=<path> - Mark the current working directory and communicate it to the terminal
|
|
||||||
# and also helps with the run recent menu in vscode
|
|
||||||
osc633: true
|
osc633: true
|
||||||
# reset_application_mode is escape \x1b[?1l and was added to help ssh work better
|
|
||||||
reset_application_mode: true
|
reset_application_mode: true
|
||||||
}
|
}
|
||||||
|
|
||||||
ls: {
|
ls: {
|
||||||
use_ls_colors: true
|
use_ls_colors: true
|
||||||
clickable_links: true
|
clickable_links: true
|
||||||
}
|
}
|
||||||
|
|
||||||
rm: {
|
rm: {
|
||||||
always_trash: true
|
always_trash: true
|
||||||
}
|
}
|
||||||
@ -100,8 +63,7 @@ in {
|
|||||||
algorithm: "fuzzy"
|
algorithm: "fuzzy"
|
||||||
external: {
|
external: {
|
||||||
enable: true
|
enable: true
|
||||||
# max_results: 100
|
#max_results: 100
|
||||||
# completer: $carapace_completer # check 'carapace_completer'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user