Compare commits
2 Commits
d0413239cd
...
9575e785fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
9575e785fa
|
|||
|
38ba80c08b
|
@@ -12,6 +12,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.workstation.enable {
|
config = lib.mkIf config.workstation.enable {
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
logDriver = "json-file";
|
logDriver = "json-file";
|
||||||
|
|||||||
@@ -19,6 +19,20 @@ pkgs.rustPlatform.buildRustPackage {
|
|||||||
|
|
||||||
buildType = "debug";
|
buildType = "debug";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
mkdir -p completions
|
||||||
|
'';
|
||||||
|
|
||||||
|
SHELL_COMPLETIONS_DIR = "completions";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --bash completions/ahab.bash
|
||||||
|
installShellCompletion --zsh completions/_ahab
|
||||||
|
installShellCompletion --fish completions/ahab.fish
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "ahab";
|
description = "ahab";
|
||||||
homepage = "https://git.janezic.dev/janezicmatej/ahab";
|
homepage = "https://git.janezic.dev/janezicmatej/ahab";
|
||||||
|
|||||||
Reference in New Issue
Block a user