Update scripts
This commit is contained in:
parent
887c118cb3
commit
88ce12f849
4 changed files with 3 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
rsync-backups = pkgs.writeScriptBin "rsync-backups" builtins.readFile ./scripts/media.sh;
|
||||
rsync-data-vol = pkgs.writeScriptBin "rsync-data-vol" builtins.readFile ./scripts/data-vol.sh;
|
||||
rsync-sysctl = pkgs.writeScriptBin "rsync-sysctl" builtins.readFile ./scripts/sysctl.sh;
|
||||
rsync-data-vol = pkgs.writeScriptBin "rsync-data-vol" "${builtins.readFile ./scripts/data-vol.sh}";
|
||||
rsync-backups = pkgs.writeScriptBin "rsync-backups" "${builtins.readFile ./scripts/media.sh}";
|
||||
rsync-sysctl = pkgs.writeScriptBin "rsync-sysctl" "${builtins.readFile ./scripts/sysctl.sh}";
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
rsync-backups
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/env bash
|
||||
# Send the gotify notification:
|
||||
|
||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#! /bin/env bash
|
||||
# Send the gotify notification:
|
||||
|
||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#! /bin/env bash
|
||||
# Send the gotify notification:
|
||||
|
||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||
|
|
Loading…
Reference in a new issue