Replace customPkgs with pkgs.custom and add pkgs.unstable and flake update

This commit is contained in:
2025-11-08 13:06:51 -08:00
parent 1bc65ceb51
commit fad6e61aac
9 changed files with 60 additions and 48 deletions

View File

@@ -4,7 +4,6 @@ with lib;
let
cfg = config.roles.kodi;
customPkgs = pkgs.callPackage ../../packages {};
in
{
options.roles.kodi = {
@@ -54,7 +53,7 @@ in
kodiPkg
wget
firefox
] ++ optional cfg.appLauncherServer.enable customPkgs.app-launcher-server;
] ++ optional cfg.appLauncherServer.enable pkgs.custom.app-launcher-server;
programs.kdeconnect.enable = true;
@@ -65,7 +64,7 @@ in
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${customPkgs.app-launcher-server}/bin/app-launcher-server ${toString cfg.appLauncherServer.port}";
ExecStart = "${pkgs.custom.app-launcher-server}/bin/app-launcher-server ${toString cfg.appLauncherServer.port}";
Restart = "always";
RestartSec = "5s";
Environment = [