From 9042978530aa585e46177518c091203c6e5b04ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 30 Mar 2025 19:27:31 +0000 Subject: [PATCH] lib: timelapse-test: remove experiment --- hosts/mtworx/configuration.nix | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index 8215b9a..0596dae 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -1,5 +1,4 @@ { - lib, config, pkgs, myData, @@ -7,13 +6,6 @@ }: let nvme = "/dev/disk/by-id/nvme-WD_PC_SN810_SDCQNRY-1T00-1201_23234W800017"; - timelapseScript = pkgs.writeShellApplication { - name = "timelapse-test"; - text = '' - date >> /tmp/timelapse-test - sleep 5m - ''; - }; in { imports = [ @@ -61,18 +53,6 @@ in }; }; - systemd = { - timers.timelapse-test = { - timerConfig.onCalendar = "*-*-* *:*:30"; - }; - services.timelapse-test.serviceConfig = { - ExecStart = lib.getExe timelapseScript; - StateDirectory = "timelapse-test"; - Type = "simple"; - RuntimeMaxSec = "30s"; - }; - }; - swapDevices = [ { device = "${nvme}-part2";