Update configuration.nix
This commit is contained in:
@@ -183,7 +183,7 @@
|
|||||||
# GIT AUTO-UPDATE SCRIPT test
|
# GIT AUTO-UPDATE SCRIPT test
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
environment.etc."update-nixos-config.sh".text = ''
|
environment.etc."update-nixos-config.sh".text = ''
|
||||||
#!/run/current-system/sw/bin/bash
|
#!/run/current-system/sw/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
||||||
|
|
||||||
LOCAL_PATH="/var/lib/nixos-config"
|
LOCAL_PATH="/var/lib/nixos-config"
|
||||||
REPO_URL="https://git.skarockoi.de/ska/nixos-production.git"
|
REPO_URL="https://git.skarockoi.de/ska/nixos-production.git "
|
||||||
|
|
||||||
if [ ! -d "$LOCAL_PATH/.git" ]; then
|
if [ ! -d "$LOCAL_PATH/.git" ]; then
|
||||||
mkdir -p "$LOCAL_PATH"
|
mkdir -p "$LOCAL_PATH"
|
||||||
@@ -230,7 +230,6 @@
|
|||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnBootSec = "60s";
|
OnBootSec = "60s";
|
||||||
OnUnitActiveSec = "5min";
|
OnUnitActiveSec = "5min";
|
||||||
AccuracySec = "30s";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user