12 lines
368 B
Nix
12 lines
368 B
Nix
{ pkgs, config, lib, ... }: {
|
|
systemd.services."test-and-bump-config" = {
|
|
startAt = "20:30";
|
|
path = [ pkgs.nix pkgs.gnutar pkgs.gzip pkgs.git pkgs.git-crypt ];
|
|
serviceConfig = {
|
|
Type = "oneshot";
|
|
WorkingDirectory = "/var/cache/gc-links";
|
|
ExecStart =
|
|
"${(import ../lib/test.nix).test-config}/bin/test-config bump";
|
|
};
|
|
};
|
|
}
|