Compare commits
2 Commits
f9ed5be670
...
25e93ab45c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25e93ab45c | ||
|
|
d16b8262c9 |
@ -139,9 +139,11 @@ in
|
||||
|
||||
klogs = lib.mkDefault "${pkgs.writeShellScript "klogs" ''
|
||||
ctx="$1"
|
||||
namespace="$2"
|
||||
label="$3"
|
||||
echo=${pkgs.coreutils}/bin/echo
|
||||
shift
|
||||
namespace="$1"
|
||||
shift
|
||||
label="$1"
|
||||
shift
|
||||
|
||||
if [[ "$ctx" == "" || "$namespace" == "" || "$label" == "" ]]; then
|
||||
echo "Usage: klogs context namespace label"
|
||||
@ -154,7 +156,7 @@ in
|
||||
exit 1
|
||||
fi
|
||||
|
||||
kubectl --context "$ctx" logs -f -n "$namespace" -l "$label"
|
||||
kubectl --context "$ctx" logs -f -n "$namespace" -l "$label" $@
|
||||
''}";
|
||||
|
||||
nixfix = lib.mkDefault "nix fmt ./**/*.nix";
|
||||
|
||||
@ -140,7 +140,7 @@ in
|
||||
Program = "${pkgs.writeShellScript "keepass-sync" ''
|
||||
${pkgs.coreutils}/bin/cp "${homedir}/storage/.macshare/.secret/arnie.kdbx" "${homedir}/.secret/arnie.kdbx"
|
||||
''}";
|
||||
ProgramArguments = [];
|
||||
ProgramArguments = [ ];
|
||||
StartInterval = 60 * 10;
|
||||
StandardErrorPath = "/var/log/keepass-sync.error.log";
|
||||
StandardOutPath = "/var/log/keepass-sync.out.log";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user