Move cross-seed import to its file

This commit is contained in:
batteredbunny 2024-11-18 22:54:07 +02:00
parent eb7fb598bf
commit 3d7fe5f165
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,6 @@
inputs.confess.nixosModules.default inputs.confess.nixosModules.default
inputs.common-modules.nixosModules.nixos-upgrade inputs.common-modules.nixosModules.nixos-upgrade
inputs.common-modules.nixosModules.qbittorrent-nox inputs.common-modules.nixosModules.qbittorrent-nox
inputs.common-modules.nixosModules.cross-seed
]; ];
nixpkgs = { nixpkgs = {

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { inputs, pkgs, lib, ... }:
let let
cross-seed = pkgs.buildNpmPackage rec { cross-seed = pkgs.buildNpmPackage rec {
pname = "cross-seed"; pname = "cross-seed";
@ -23,6 +23,10 @@ let
}; # TODO: delete this when merged https://github.com/NixOS/nixpkgs/pull/329243 }; # TODO: delete this when merged https://github.com/NixOS/nixpkgs/pull/329243
in in
{ {
imports = [
inputs.common-modules.nixosModules.cross-seed
];
services.cross-seed = { services.cross-seed = {
enable = true; enable = true;
package = cross-seed; package = cross-seed;