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 +'' +