···133134- [mautrix-meta](https://github.com/mautrix/meta), a Matrix <-> Facebook and Matrix <-> Instagram hybrid puppeting/relaybot bridge. Available as services.mautrix-meta
135136-- [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/1436834-jottacloud-command-line-tool), a CLI for the [Jottacloud](https://jottacloud.com/) cloud storage provider. Available as [user.services.jotta-cli](#opt-user.services.jotta-cli.enable).
137138- [transfer-sh](https://github.com/dutchcoders/transfer.sh), a tool that supports easy and fast file sharing from the command-line. Available as [services.transfer-sh](#opt-services.transfer-sh.enable).
139
···133134- [mautrix-meta](https://github.com/mautrix/meta), a Matrix <-> Facebook and Matrix <-> Instagram hybrid puppeting/relaybot bridge. Available as services.mautrix-meta
135136+- [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/1436834-jottacloud-command-line-tool), a CLI for the [Jottacloud](https://jottacloud.com/) cloud storage provider. Available as [services.jotta-cli](#opt-services.jotta-cli.enable).
137138- [transfer-sh](https://github.com/dutchcoders/transfer.sh), a tool that supports easy and fast file sharing from the command-line. Available as [services.transfer-sh](#opt-services.transfer-sh.enable).
139
···1{ config, lib, pkgs, utils, ... }:
2let
3- inherit (lib) mkEnableOption mkPackageOption mkOption mkIf mkDefault types optionals getExe;
4 inherit (utils) escapeSystemdExecArgs;
5 cfg = config.services.sunshine;
6···4647 See https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html#configuration for syntax.
48 '';
49- example = ''
50 {
51 sunshine_name = "nixos";
52 }
···67 description = ''
68 Configuration for applications to be exposed to Moonlight. If this is set, no configuration is possible from the web UI, and must be by the `settings` option.
69 '';
70- example = ''
71 {
72 env = {
73 PATH = "$(PATH):$(HOME)/.local/bin";
···1{ config, lib, pkgs, utils, ... }:
2let
3+ inherit (lib) mkEnableOption mkPackageOption mkOption literalExpression mkIf mkDefault types optionals getExe;
4 inherit (utils) escapeSystemdExecArgs;
5 cfg = config.services.sunshine;
6···4647 See https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html#configuration for syntax.
48 '';
49+ example = literalExpression ''
50 {
51 sunshine_name = "nixos";
52 }
···67 description = ''
68 Configuration for applications to be exposed to Moonlight. If this is set, no configuration is possible from the web UI, and must be by the `settings` option.
69 '';
70+ example = literalExpression ''
71 {
72 env = {
73 PATH = "$(PATH):$(HOME)/.local/bin";
+12
nixos/modules/services/system/dbus.nix
···147 };
148149 systemd.services.dbus = {
0000150 # Don't restart dbus-daemon. Bad things tend to happen if we do.
151 reloadIfChanged = true;
152 restartTriggers = [
···158 };
159160 systemd.user.services.dbus = {
0000161 # Don't restart dbus-daemon. Bad things tend to happen if we do.
162 reloadIfChanged = true;
163 restartTriggers = [
···184 # https://github.com/NixOS/nixpkgs/issues/108643
185 systemd.services.dbus-broker = {
186 aliases = [
00187 "dbus.service"
188 ];
189 unitConfig = {
···203204 systemd.user.services.dbus-broker = {
205 aliases = [
00206 "dbus.service"
207 ];
208 # Don't restart dbus. Bad things tend to happen if we do.
···147 };
148149 systemd.services.dbus = {
150+ aliases = [
151+ # hack aiding to prevent dbus from restarting when switching from dbus-broker back to dbus
152+ "dbus-broker.service"
153+ ];
154 # Don't restart dbus-daemon. Bad things tend to happen if we do.
155 reloadIfChanged = true;
156 restartTriggers = [
···162 };
163164 systemd.user.services.dbus = {
165+ aliases = [
166+ # hack aiding to prevent dbus from restarting when switching from dbus-broker back to dbus
167+ "dbus-broker.service"
168+ ];
169 # Don't restart dbus-daemon. Bad things tend to happen if we do.
170 reloadIfChanged = true;
171 restartTriggers = [
···192 # https://github.com/NixOS/nixpkgs/issues/108643
193 systemd.services.dbus-broker = {
194 aliases = [
195+ # allow other services to just depend on dbus,
196+ # but also a hack aiding to prevent dbus from restarting when switching from dbus-broker back to dbus
197 "dbus.service"
198 ];
199 unitConfig = {
···213214 systemd.user.services.dbus-broker = {
215 aliases = [
216+ # allow other services to just depend on dbus,
217+ # but also a hack aiding to prevent dbus from restarting when switching from dbus-broker back to dbus
218 "dbus.service"
219 ];
220 # Don't restart dbus. Bad things tend to happen if we do.
···50 src = src';
51 inherit patches;
5253- # LLDB expects to find the path to `bin` relative to `lib` on Darwin. It can’t be patched with the location of
54- # the `lib` output because that would create a cycle between it and the `out` output.
55- outputs = [ "out" "dev" ] ++ lib.optionals (!stdenv.isDarwin) [ "lib" ];
5657 sourceRoot = lib.optional (lib.versionAtLeast release_version "13") "${src.name}/${pname}";
58
···1-diff --git a/cmake/targets/unix.cmake b/cmake/targets/unix.cmake
2-index 2ce0378..10d8262 100644
3---- a/cmake/targets/unix.cmake
4-+++ b/cmake/targets/unix.cmake
5-@@ -1,8 +1,3 @@
6- # unix specific target definitions
7- # put anything here that applies to both linux and macos
8-9--#WebUI build
10--add_custom_target(web-ui ALL
11-- WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
12-- COMMENT "Installing NPM Dependencies and Building the Web UI"
13-- COMMAND bash -c \"npm install && SUNSHINE_BUILD_HOMEBREW=${NPM_BUILD_HOMEBREW} SUNSHINE_SOURCE_ASSETS_DIR=${NPM_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${NPM_ASSETS_DIR} npm run build\") # cmake-lint: disable=C0301