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