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" ]; + }; + }; }; }