13 lines
268 B
Nix
13 lines
268 B
Nix
{ pkgs, lib, ... }:
|
|
with pkgs;
|
|
let
|
|
plugins = writeText "plugins" ''
|
|
krew
|
|
oidc-login
|
|
'';
|
|
in {
|
|
home.activation.krew = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
$DRY_RUN_CMD ${krewfile}/bin/krewfile -command ${krew}/bin/krew -file ${plugins}
|
|
'';
|
|
}
|