summaryrefslogtreecommitdiff
path: root/home/environ/units.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/environ/units.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/home/environ/units.nix b/home/environ/units.nix
index bb039b7..ae4e680 100644
--- a/home/environ/units.nix
+++ b/home/environ/units.nix
@@ -1,13 +1,17 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
with lib; let
cfg = config.local.environ;
-in
-{
+in {
config = mkIf cfg.enable {
systemd.user = {
timers = {
units-cur = {
- Install.WantedBy = [ "timers.target" ];
+ Install.WantedBy = ["timers.target"];
Timer.OnCalendar = "daily";
Unit.Description = "Update currency information for 'units'";
};