diff options
Diffstat (limited to 'os/srv/zzz.nix')
| -rw-r--r-- | os/srv/zzz.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/os/srv/zzz.nix b/os/srv/zzz.nix deleted file mode 100644 index cd9a67e..0000000 --- a/os/srv/zzz.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.os.srv.zzz; -in -{ - options.os.srv.zzz.enable = lib.mkEnableOption "enables the zzz rpc service"; - config = lib.mkIf cfg.enable { - systemd.user.services.zzz-presence = { - description = "Zenless Zone Zero Discord Rich Presence"; - wantedBy = [ "default.target" ]; - - serviceConfig = { - ExecStart = "${pkgs.python3.withPackages (ps: [ ps.pypresence ])}/bin/python3 /etc/nixos/resources/zzz.py"; - Restart = "always"; - RestartSec = "10"; - }; - }; - }; -} |
