From e4dfb48a0c68a6acd78b4498065a8771da5ead1c Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Wed, 4 Oct 2023 23:47:46 +0500 Subject: [PATCH] Add deluge --- nixos/configuration.nix | 2 ++ nixos/programs/deluge.nix | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 nixos/programs/deluge.nix diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0b4bfed..2f6b6fd 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -25,6 +25,7 @@ ./programs/freshrss.nix ./programs/comfycamp.nix ./programs/phoenix.nix + ./programs/deluge.nix ]; # Enable flakes @@ -52,6 +53,7 @@ vips go pkg-config + deluged ]; # Enable the OpenSSH daemon. diff --git a/nixos/programs/deluge.nix b/nixos/programs/deluge.nix new file mode 100644 index 0000000..05ccd04 --- /dev/null +++ b/nixos/programs/deluge.nix @@ -0,0 +1,7 @@ +{ config, ... }: +{ + services.deluge = { + enable = true; + web.enable = false; + }; +}