Added typst
This commit is contained in:
23
modules/home/applications/typst.nix
Normal file
23
modules/home/applications/typst.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.settings.applications.typst;
|
||||
in {
|
||||
options = {
|
||||
settings.applications.typst.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Enable typst
|
||||
'';
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
unstable.typst
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user