Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng eaa60c2149
Add nix to goimapnotify user service path 2022-06-23 22:47:40 +02:00
coolneng 9d6aeafe92 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a72d7811be1162dd6804c4e36e5402d76fb6e921' (2022-06-21)
  → 'github:NixOS/nixpkgs/e1e08fe28bf0588a41cd556eac40b98d2793da99' (2022-06-22)
2022-06-23 22:32:24 +02:00
2 changed files with 5 additions and 4 deletions

View File

@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1655807518, "lastModified": 1655895887,
"narHash": "sha256-5YV29Ry/DpAJc/0Hc/+ISVBAjwHpJvAkeKkcUG5lWsc=", "narHash": "sha256-AbihSVmPKFcQmaVgzNSLQ8sLAaVTTELPSzZ+/gRVfyk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a72d7811be1162dd6804c4e36e5402d76fb6e921", "rev": "e1e08fe28bf0588a41cd556eac40b98d2793da99",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -56,7 +56,8 @@ in {
systemd.user.services.goimapnotify-ugent = { systemd.user.services.goimapnotify-ugent = {
description = "Sync UGent mail using IMAP IDLE"; description = "Sync UGent mail using IMAP IDLE";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg ]; path =
[ goimapnotify pass-wayland isync-oauth2 notmuch python39 gnupg nix ];
script = '' script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf ${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/ugent.conf
''; '';