Compare commits

...

4 Commits

4 changed files with 22 additions and 4 deletions

View File

@ -26,3 +26,12 @@ function wrkspc() {
local session=$(basename $wd)
tmux new -A -s $session
}
function kill_service_on_port() {
local port=$1
echo killings pids for port ${port}
for p in $(sudo lsof -nP -iTCP -sTCP:LISTEN | grep ${port} | awk '{ print $2 }'); do
echo killing pid: $p;
kill -9 $p;
done
}

View File

@ -220,8 +220,6 @@ EOF";
lua-language-server
rust-analyzer
dasht
# TODO(jwall): This is no longer provided for darwin in nixpkgs
#dbeaver-bin
]);
};
};
@ -336,6 +334,7 @@ EOF";
vector
victoriametrics
# TODO add sonic-pi here if it supports the arch
unstablePkgs.dbeaver-bin
])
#++ (with pkgs.ocamlPackages; [
# dune_3

View File

@ -194,10 +194,16 @@ with lib;
"--"
"${pkgs.durnitisp}/bin/durnitisp"
"--listenHost=${config.services.durnitisp.listen}"
"--stunHosts=stun.ekiga.net:3478,stun.schlund.de:3478,stun.voipbuster.com:3478,stun.voipstunt.com:3478,stun.xten.com:3478"
"--pingHosts=google.com,prod.actual.battle.net"
];
#StandardErrorPath = "/var/log/clio.durnitisp.err";
#StandardOutPath = "/var/log/clio.durnitisp.out";
KeepAlive = true;
KeepAlive = {
PathState = {
"/nix/store" = true;
};
};
RunAtLoad = true;
};
};

View File

@ -43,7 +43,11 @@ with lib;
WatchPaths= [
"/etc/${config.environment.etc."vector.yaml".target}"
];
KeepAlive = true;
KeepAlive = {
PathState = {
"/nix/store" = true;
};
};
RunAtLoad = true;
};
};