diff --git a/hosts/ti-clt-lpt01/home.nix b/hosts/ti-clt-lpt01/home.nix index f605296..04ed996 100644 --- a/hosts/ti-clt-lpt01/home.nix +++ b/hosts/ti-clt-lpt01/home.nix @@ -34,6 +34,7 @@ applications.zellij.enable = true; applications.wezterm.enable = true; applications.nushell.enable = false; + applications.typst.enable = true; services.nextcloud-sync.enable = true; @@ -79,11 +80,6 @@ (import ../../modules/scripts/save_image.nix { inherit pkgs; }) ]; - programs.vscode = { - enable = true; - }; - - # Enable home-manager programs.home-manager.enable = true; diff --git a/modules/home/applications/typst.nix b/modules/home/applications/typst.nix new file mode 100644 index 0000000..b53a4d8 --- /dev/null +++ b/modules/home/applications/typst.nix @@ -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 + ]; + }; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index b7a03b2..7208acd 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -15,6 +15,7 @@ ./applications/zellij.nix ./applications/wezterm.nix ./applications/nushell.nix + ./applications/typst.nix ./services/nextcloud.nix ./services/podman.nix