health reminder syntax fix
This commit is contained in:
@@ -12,8 +12,7 @@ lib.mkIf (host != "NxACE")
|
||||
};
|
||||
|
||||
systemd.user.services."health_reminder" = let
|
||||
hm = pkgs.writers.writePython3Bin "health_reminder" {
|
||||
text = /*python*/ ''
|
||||
hm = pkgs.writers.writePython3Bin "health_reminder" {} /*python*/ ''
|
||||
import random
|
||||
import re
|
||||
|
||||
@@ -47,7 +46,6 @@ lib.mkIf (host != "NxACE")
|
||||
random_action = random.choices(actions, [a.likelihood for a in actions], k=1)[0]
|
||||
print(random_action)
|
||||
'';
|
||||
};
|
||||
in {
|
||||
script = ''
|
||||
set -eu
|
||||
|
||||
Reference in New Issue
Block a user