From 95afe343bf2dfc6df7842e63fc45fdb4f37cbf8b Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 4 Nov 2024 00:23:23 +0100 Subject: [PATCH] ssy: add --- configuration.nix | 1 + ssy.script.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 ssy.script.nix diff --git a/configuration.nix b/configuration.nix index 408c782..a935353 100644 --- a/configuration.nix +++ b/configuration.nix @@ -59,6 +59,7 @@ in jq (import ./sl.script.nix) (import ./startsync.script.nix) + (import ./ssy.script.nix) (import ./bright.script.nix) (import ./nix-cmd.script.nix) (import ./sshpc.script.nix) diff --git a/ssy.script.nix b/ssy.script.nix new file mode 100644 index 0000000..cd7295e --- /dev/null +++ b/ssy.script.nix @@ -0,0 +1,8 @@ +with import {}; + +pkgs.writeShellScriptBin "ssy" '' + #!/bin/sh + startsync 2>&1 > /dev/null & disown + ls ~/sync 2>&1 > /dev/null +'' +