add aria2c
This commit is contained in:
parent
2c08b58d00
commit
05a37d70dd
3 changed files with 26 additions and 0 deletions
|
@ -109,6 +109,7 @@
|
|||
tmux.enable = true;
|
||||
newsboat.enable = true;
|
||||
ranger.enable = true;
|
||||
aria.enable = true;
|
||||
};
|
||||
media = {
|
||||
mpd.enable = false;
|
||||
|
|
24
modules/shell/aria/default.nix
Normal file
24
modules/shell/aria/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.shell.aria;
|
||||
in
|
||||
{
|
||||
options.modules.shell.aria= {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
aria
|
||||
];
|
||||
# home-manager.users.sako = { pkgs, ...}: {
|
||||
# xdg.configFile = {
|
||||
# aria = {
|
||||
# source = ../../../config/aria;
|
||||
# recursive = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
|
@ -5,5 +5,6 @@
|
|||
./tmux
|
||||
./newsboat
|
||||
./ranger
|
||||
./aria
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue