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, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
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-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;
|
rsync-sysctl = pkgs.writeScriptBin "rsync-sysctl" "${builtins.readFile ./scripts/sysctl.sh}";
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
rsync-backups
|
rsync-backups
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/env bash
|
|
||||||
# Send the gotify notification:
|
# Send the gotify notification:
|
||||||
|
|
||||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#! /bin/env bash
|
|
||||||
# Send the gotify notification:
|
# Send the gotify notification:
|
||||||
|
|
||||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#! /bin/env bash
|
|
||||||
# Send the gotify notification:
|
# Send the gotify notification:
|
||||||
|
|
||||||
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
GOTIFY_TOKEN=`cat /var/run/secrets/gotify_token | head -n 1`
|
||||||
|
|
Loading…
Reference in a new issue