aria2: remove extraConfig
This commit is contained in:
parent
13587c3ace
commit
2e3550192e
4 changed files with 22 additions and 19 deletions
|
|
@ -1 +1,4 @@
|
|||
{ aria2-settings = ./settings.nix; }
|
||||
{
|
||||
aria2-disabled = ./disabled.nix;
|
||||
aria2-settings = ./settings.nix;
|
||||
}
|
||||
|
|
|
|||
7
tests/modules/programs/aria2/disabled.nix
Normal file
7
tests/modules/programs/aria2/disabled.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
aria2.enable = false;
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists "home-files/.config/aria2"
|
||||
'';
|
||||
}
|
||||
|
|
@ -9,10 +9,6 @@
|
|||
max-upload-limit = "50K";
|
||||
ftp-pasv = true;
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
# Extra aria2 configuration.
|
||||
'';
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
|
|
@ -24,7 +20,6 @@
|
|||
listen-port=60000
|
||||
max-upload-limit=50K
|
||||
seed-ratio=1.000000
|
||||
# Extra aria2 configuration.
|
||||
''}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue