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
|
||||
];
|
||||
};
|
||||
}
|
@@ -15,6 +15,7 @@
|
||||
./applications/zellij.nix
|
||||
./applications/wezterm.nix
|
||||
./applications/nushell.nix
|
||||
./applications/typst.nix
|
||||
|
||||
./services/nextcloud.nix
|
||||
./services/podman.nix
|
||||
|
Reference in New Issue
Block a user