From d69ed82a312f9fee5d89105d4faf00444bb458a0 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 20 Nov 2022 23:14:21 +0100 Subject: [PATCH] ryzensun: disable mopidy --- hosts/ryzensun/ryzensun.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/hosts/ryzensun/ryzensun.nix b/hosts/ryzensun/ryzensun.nix index e7ec3b87..41cadbb1 100644 --- a/hosts/ryzensun/ryzensun.nix +++ b/hosts/ryzensun/ryzensun.nix @@ -1,10 +1,14 @@ -{ config, pkgs, lib, self, ... }: -with lib; -let +{ + config, + pkgs, + lib, + self, + ... +}: +with lib; let psCfg = config.pub-solar; xdg = config.home-manager.users."${psCfg.user.name}".xdg; -in -{ +in { imports = [ ./hardware-configuration.nix ]; @@ -20,6 +24,8 @@ in pub-solar.docker.enable = true; pub-solar.virtualisation.enable = true; + pub-solar.audio.mopidy.enable = mkForce false; + home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable { "sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf; "sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;