nixos/modules/shell/pipe-viewer/default.nix
2023-07-30 14:35:27 +03:00

17 lines
293 B
Nix

{ 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
];
};
}