mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
Merge 05e5201117
into 43a19779c1
This commit is contained in:
commit
c809e57532
|
@ -2358,8 +2358,6 @@ for this setup, you will need a [flake-enabled](https://nixos.wiki/wiki/Flakes)
|
|||
# load the copyparty NixOS module
|
||||
copyparty.nixosModules.default
|
||||
({ pkgs, ... }: {
|
||||
# add the copyparty overlay to expose the package to the module
|
||||
nixpkgs.overlays = [ copyparty.overlays.default ];
|
||||
# (optional) install the package globally
|
||||
environment.systemPackages = [ pkgs.copyparty ];
|
||||
# configure the copyparty module
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{ self }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
|
@ -259,6 +260,9 @@ in
|
|||
command = "${getExe cfg.package} -c ${runtimeConfigPath}";
|
||||
in
|
||||
{
|
||||
# add the copyparty overlay to expose the package to the module
|
||||
nixpkgs.overlays = [ self.overlays.default ];
|
||||
|
||||
systemd.services.copyparty = {
|
||||
description = "http file sharing hub";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
flake-utils,
|
||||
}:
|
||||
{
|
||||
nixosModules.default = ./contrib/nixos/modules/copyparty.nix;
|
||||
nixosModules.default = import ./contrib/nixos/modules/copyparty.nix { inherit self; };
|
||||
overlays.default = final: prev: rec {
|
||||
copyparty = final.python3.pkgs.callPackage ./contrib/package/nix/copyparty {
|
||||
ffmpeg = final.ffmpeg-full;
|
||||
|
|
Loading…
Reference in a new issue