glotzbert: remove stale x11vnc-service.nix
This commit is contained in:
parent
02887763e7
commit
971c267912
|
@ -1,24 +0,0 @@
|
||||||
{ stdenv, pkgs, ... }:
|
|
||||||
|
|
||||||
with pkgs;
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "x11vnc-service";
|
|
||||||
version = "0.0.0";
|
|
||||||
src = ./.;
|
|
||||||
|
|
||||||
buildInputs = [ x11vnc ];
|
|
||||||
|
|
||||||
dontBuild = true;
|
|
||||||
installPhase = ''
|
|
||||||
cat > $out/lib/systemd/user/x11vnc.service <<_EOF_
|
|
||||||
[Unit]
|
|
||||||
Description=VNC server
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=${x11vnc}/bin/x11vnc -shared -forever -passwd k-ot
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
_EOF_
|
|
||||||
'';
|
|
||||||
}
|
|
Loading…
Reference in New Issue