add pipe-viewer
This commit is contained in:
parent
8c60b27cd3
commit
e9b2ed4b33
3 changed files with 18 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
|||
zsh.enable = true;
|
||||
newsboat.enable = true;
|
||||
ranger.enable = true;
|
||||
pipe-viewer.enable = true;
|
||||
};
|
||||
media = {
|
||||
mpd.enable = true;
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
./zsh
|
||||
./newsboat
|
||||
./ranger
|
||||
./pipe-viewer
|
||||
];
|
||||
}
|
||||
|
|
16
modules/shell/pipe-viewer/default.nix
Normal file
16
modules/shell/pipe-viewer/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue