copyparty flake
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 14s

This commit is contained in:
Satria 2026-07-11 22:10:30 +07:00
commit cdfdddcfec
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,7 @@
{ pkgs, ... }: {
{ inputs, pkgs, ... }: {
environment.systemPackages = with pkgs; [ copyparty-most ];
nixpkgs.overlays = [ inputs.cp.overlays.default ];
imports = [ inputs.cp.nixosModules.default ];
systemd.services.copyparty = {
description = "File Sharing Service";
@ -7,7 +9,7 @@
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.copyparty-most}/bin/copyparty -c /mnt/share/cfg/files.conf";
ExecStart = "${pkgs.copyparty}/bin/copyparty -c /mnt/share/cfg/files.conf";
Restart = "on-failure";
};
};