add aria2c

This commit is contained in:
Sakooooo 2024-02-09 07:47:36 +04:00
parent 2c08b58d00
commit 05a37d70dd
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 26 additions and 0 deletions

View file

@ -109,6 +109,7 @@
tmux.enable = true;
newsboat.enable = true;
ranger.enable = true;
aria.enable = true;
};
media = {
mpd.enable = false;

View 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;
# };
# };
# };
};
}

View file

@ -5,5 +5,6 @@
./tmux
./newsboat
./ranger
./aria
];
}