nushell play and some other tweaks
This commit is contained in:
parent
62ff7c5bcf
commit
c34c97d13c
5 changed files with 21 additions and 13 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -137,11 +137,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751274822,
|
"lastModified": 1751303444,
|
||||||
"narHash": "sha256-N5Kl10TFWL7mWZWR/SYiYA3+bnH2HfuB/qCFGco2HOo=",
|
"narHash": "sha256-sK8xfBTztSyqWgbxzGj86ug3vSee8A61l0iwsgoNMH4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "9e06201e3703da9d83c608ad31c5bb44ad0753b6",
|
"rev": "4a0db65ba7e8499456cacec817196eaae4cd518d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -541,11 +541,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751296747,
|
"lastModified": 1751309344,
|
||||||
"narHash": "sha256-/nHOfmB0C972nYX0xVF0zWmbt8ooA9TCczfeKHNvwqI=",
|
"narHash": "sha256-zmb01yyOXttyhJD3kRtW6Pkt1lsPbJvN3P92/GnI0tk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "0f21ed5182a158d2f84e9136f6bf8539fd9a6890",
|
"rev": "78fc50f1cf8e57a974ff4bfe654563fce43d6289",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
bash-env-json
|
bash-env-json
|
||||||
bash-env-nushell
|
bash-env-nushell
|
||||||
nufmt
|
nufmt
|
||||||
|
vivid
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -11,8 +11,9 @@
|
||||||
"rm" = "gtrash put";
|
"rm" = "gtrash put";
|
||||||
"lg" = "lazygit";
|
"lg" = "lazygit";
|
||||||
"cat" = "bat --plain";
|
"cat" = "bat --plain";
|
||||||
|
"y" = "wezterm --config-file ~/.config/wezterm/launcher.lua start --always-new-process --cwd (pwd) yazi &";
|
||||||
};
|
};
|
||||||
configFile.source = ./config.nu;
|
# configFile.source = ./config.nu;
|
||||||
loginFile.text = ''
|
loginFile.text = ''
|
||||||
${pkgs.figlet}/bin/figlet -f ($env.HOME)/.local/share/flf/wavy.flf (hostname)
|
${pkgs.figlet}/bin/figlet -f ($env.HOME)/.local/share/flf/wavy.flf (hostname)
|
||||||
'';
|
'';
|
||||||
|
@ -25,6 +26,12 @@
|
||||||
settings = {
|
settings = {
|
||||||
show_banner = false;
|
show_banner = false;
|
||||||
ls = { clickable_links = true; };
|
ls = { clickable_links = true; };
|
||||||
|
table = {
|
||||||
|
mode = "none";
|
||||||
|
};
|
||||||
|
color_config = {
|
||||||
|
hints = "#666666";
|
||||||
|
};
|
||||||
completions = {
|
completions = {
|
||||||
case_sensitive = false;
|
case_sensitive = false;
|
||||||
quick = true;
|
quick = true;
|
||||||
|
@ -60,7 +67,9 @@
|
||||||
$completions
|
$completions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$env.LS_COLORS = (vivid generate one-dark)
|
||||||
'';
|
'';
|
||||||
# plugins = [ pkgs.nushellPlugins.skim ];
|
plugins = [ pkgs.nushellPlugins.skim ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ home_symbol = "~"
|
||||||
use_os_path_sep = true
|
use_os_path_sep = true
|
||||||
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
style = '#444444'
|
style = '#666666'
|
||||||
format = '([\($duration\)]($style))'
|
format = '([\($duration\)]($style))'
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
event = "before-sleep";
|
event = "before-sleep";
|
||||||
command = "${pkgs.systemd}/bin/loginctl lock-session";
|
command = "/home/emenel/.local/bin/session-lock";
|
||||||
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
event = "after-resume";
|
event = "after-resume";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue