summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock4
-rw-r--r--home/home.nix4
2 files changed, 5 insertions, 3 deletions
diff --git a/flake.lock b/flake.lock
index 2168ddd..78b579b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -93,8 +93,8 @@
"feeds": {
"flake": false,
"locked": {
- "lastModified": 1677082633,
- "narHash": "sha256-V0D4US+mnI9Wc9/ZVGpXtS9jzkT1iYbAoiGONB478i8=",
+ "lastModified": 1678308254,
+ "narHash": "sha256-r3ynxLo+nqpxq+ZNmVcMwIhfVCldNxEgVkLm66uw79U=",
"path": "/home/stuebinm/org/nonpublic.nix",
"type": "path"
},
diff --git a/home/home.nix b/home/home.nix
index ae210b0..23e1abd 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -105,7 +105,9 @@
feeds = (import inputs.feeds).ical; in {
Unit.Description = "syncs ical feeds for almanac agenda";
Service = {
- ExecStart = "${pkgs.gauche}/bin/gosh ${./scripts/sync.scm} ${lib.fold (a: b: a + " " + b) "" feeds}";
+ ExecStart = (pkgs.writeShellScript "syncical" ''
+ ${pkgs.gauche}/bin/gosh ${./scripts/sync.scm} ${lib.escapeShellArgs feeds}
+ '').outPath;
X-ReloadIfChanged = true;
Environment = ''
PATH=${pkgs.curl}/bin:${pkgs.coreutils}/bin