dotfiles/modules/users/modules/winbox/default.nix

18 lines
291 B
Nix
Raw Normal View History

2024-07-18 11:48:49 +00:00
{config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.winbox;
in {
options.modules.winbox = {
enable = mkEnableOption "winbox";
};
config = mkIf cfg.enable {
modules.unfree.allowedPackages = [ "winbox" ];
home.packages = with pkgs; [
winbox
];
};
}