add pipe-viewer

This commit is contained in:
Sakooooo 2023-07-30 14:35:27 +03:00
parent 8c60b27cd3
commit e9b2ed4b33
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 0 deletions

View file

@ -76,6 +76,7 @@
zsh.enable = true; zsh.enable = true;
newsboat.enable = true; newsboat.enable = true;
ranger.enable = true; ranger.enable = true;
pipe-viewer.enable = true;
}; };
media = { media = {
mpd.enable = true; mpd.enable = true;

View file

@ -4,5 +4,6 @@
./zsh ./zsh
./newsboat ./newsboat
./ranger ./ranger
./pipe-viewer
]; ];
} }

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.shell.pipe-viewer;
in
{
options.modules.shell.pipe-viewer = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
pipe-viewer
];
};
}