m 3 rtorrent -> k 3 rtorrent

This commit is contained in:
makefu 2016-08-24 17:51:22 +02:00
parent 938e21973a
commit 11797ea564
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
6 changed files with 8 additions and 9 deletions

View File

@ -33,6 +33,7 @@ let
./realwallpaper.nix
./retiolum-bootstrap.nix
./retiolum.nix
./rtorrent.nix
./secret.nix
./setuid.nix
./tinc_graphs.nix

View File

@ -2,9 +2,9 @@
with config.krebs.lib;
let
cfg = config.makefu.rtorrent;
webcfg = config.makefu.rtorrent.web;
rucfg = config.makefu.rtorrent.rutorrent;
cfg = config.krebs.rtorrent;
webcfg = config.krebs.rtorrent.web;
rucfg = config.krebs.rtorrent.rutorrent;
nginx-user = config.services.nginx.user;
nginx-group = config.services.nginx.group;
@ -55,7 +55,7 @@ let
'';
out = {
options.makefu.rtorrent = api;
options.krebs.rtorrent = api;
# This only works because none of the attrsets returns the same key
config = with lib; mkIf cfg.enable (lib.mkMerge [
(lib.mkIf webcfg.enable rpcweb-imp)
@ -184,8 +184,8 @@ let
see ${cfg.package}/share/doc/rtorrent/rtorrent.rc
'';
example = literalExample ''
log.execute = ${config.makefu.rtorrent.workDir}/execute.log
log.xmlrpc = ${config.makefu.rtorrent.workDir}/xmlrpc.log
log.execute = ${cfg.workDir}/execute.log
log.xmlrpc = ${cfg.workDir}/xmlrpc.log
'';
default = "";
};

View File

@ -49,7 +49,7 @@ in {
};
};
makefu.rtorrent = {
krebs.rtorrent = {
enable = true;
web = {
enable = true;

View File

@ -8,7 +8,6 @@ _:
./forward-journal.nix
./opentracker.nix
./ps3netsrv.nix
./rtorrent.nix
./snapraid.nix
./taskserver.nix
./udpt.nix

View File

@ -18,7 +18,6 @@ in
mycube-flask = callPackage ./mycube-flask {};
nodemcu-uploader = callPackage ./nodemcu-uploader {};
ps3netsrv = callPackage ./ps3netsrv {};
rutorrent = callPackage ./rutorrent {};
tw-upload-plugin = callPackage ./tw-upload-plugin {};
skytraq-logger = callPackage ./skytraq-logger {};
taskserver = callPackage ./taskserver {};