add launcher for scripts

This commit is contained in:
2025-11-21 04:26:32 +03:00
parent b1fd965700
commit 60aeff2748
7 changed files with 210 additions and 24 deletions
+12 -4
View File
@@ -1,7 +1,17 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [ zsh-powerlevel10k fzf fd eza zoxide ];
home.packages = with pkgs; [
(writeShellScriptBin "select_command"
(builtins.readFile ./select_command.sh))
zsh-powerlevel10k
fzf
fd
eza
zoxide
];
home.file.".p10k.zsh".source = ./p10k.zsh;
programs.zsh = {
enable = true;
@@ -70,7 +80,7 @@
AmneziaVPN > /dev/null 2>&1 &
''; # TODO: start system with service
cnfg = "cd nixos-config && code . && exit";
x = "select_command";
};
initContent = ''
@@ -113,6 +123,4 @@
'';
};
home.file.".p10k.zsh".source = ./p10k.zsh;
}