nixos/modules/desktop/apps/mangal/default.nix

16 lines
290 B
Nix
Raw Normal View History

2023-08-02 22:41:26 +04:00
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.apps.mangal;
in
{
options.modules.desktop.apps.mangal = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-08-02 22:41:26 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-08-02 22:41:26 +04:00
users.users.sako.packages = with pkgs; [
mangal
];
};
}