From fd592ba5de695418c255d23eeaca68007ca15822 Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Fri, 27 Mar 2026 19:48:50 +0000 Subject: [PATCH] Update hosts/server/configuration.nix --- hosts/server/configuration.nix | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 8195698..55918d6 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -59,30 +59,30 @@ services.nfs.server = { }; - systemd.services.backup = { - description = "Backup data"; - wantedBy = [ "multi-user.target" ]; + # systemd.services.backup = { + # description = "Backup data"; + # wantedBy = [ "multi-user.target" ]; - serviceConfig = { - Type = "oneshot"; - User = "root"; +# serviceConfig = { +# Type = "oneshot"; +# User = "root"; # WorkingDirectory = "/home/nixos/scripts"; - ExecStart = "${pkgs.bash}/bin/bash -e /srv/scripts/rsync.sh"; - StandardOutput = "journal"; - StandardError = "journal"; - }; -path = with pkgs; [ bash rsync openssh coreutils ]; - }; +# ExecStart = "${pkgs.bash}/bin/bash -e /srv/scripts/rsync.sh"; +# StandardOutput = "journal"; +# StandardError = "journal"; +# }; +#path = with pkgs; [ bash rsync openssh coreutils ]; +# }; -systemd.timers.backup = { - description = "Daily backup"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnUnitActiveSec = "1d"; # Run every day after last run - Persistent = true; # Catch up if system was off - }; -}; +#systemd.timers.backup = { +# description = "Daily backup"; +# wantedBy = [ "timers.target" ]; +# timerConfig = { +# OnUnitActiveSec = "1d"; # Run every day after last run +# Persistent = true; # Catch up if system was off +# }; +#}; networking.wireguard.enable = true; networking.wireguard.interfaces.wg0 = {