lib: timelapse-test: remove experiment

This commit is contained in:
2025-03-30 19:27:31 +00:00
parent 44fc5f9792
commit 9042978530

View File

@@ -1,5 +1,4 @@
{ {
lib,
config, config,
pkgs, pkgs,
myData, myData,
@@ -7,13 +6,6 @@
}: }:
let let
nvme = "/dev/disk/by-id/nvme-WD_PC_SN810_SDCQNRY-1T00-1201_23234W800017"; 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 in
{ {
imports = [ 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 = [ swapDevices = [
{ {
device = "${nvme}-part2"; device = "${nvme}-part2";