add launcher for scripts
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user