From 83e520b1158d834ebc79839d2e133bd885ae052e Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sun, 28 Jan 2024 10:31:18 -0500 Subject: [PATCH] Final --- .../desktopEnvironments/modules/corn/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/homeConfig/modules/gui/desktopEnvironments/modules/corn/default.nix b/homeConfig/modules/gui/desktopEnvironments/modules/corn/default.nix index 172f45d..b24f5ec 100644 --- a/homeConfig/modules/gui/desktopEnvironments/modules/corn/default.nix +++ b/homeConfig/modules/gui/desktopEnvironments/modules/corn/default.nix @@ -15,5 +15,21 @@ in electrum bisq-desktop ]; + + systemd.user.services.trezord = { + Unit = { + Description = "Trezor Bridge"; + After = [ "network.target" ]; + Wants = [ "network.target" ]; + PartOf = [ "graphical-session.target" ]; + }; + Service = { + ExecStart = "${pkgs.trezord}/bin/trezord"; + Restart = "always"; + }; + Install = { + WantedBy = [ "default.target" ]; + }; + }; }; }