Added typst

This commit is contained in:
Timo Boomers 2025-05-16 10:50:59 +02:00
parent 38cb4a54b1
commit a79b1b7281
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
3 changed files with 25 additions and 5 deletions

View File

@ -34,6 +34,7 @@
applications.zellij.enable = true; applications.zellij.enable = true;
applications.wezterm.enable = true; applications.wezterm.enable = true;
applications.nushell.enable = false; applications.nushell.enable = false;
applications.typst.enable = true;
services.nextcloud-sync.enable = true; services.nextcloud-sync.enable = true;
@ -79,11 +80,6 @@
(import ../../modules/scripts/save_image.nix { inherit pkgs; }) (import ../../modules/scripts/save_image.nix { inherit pkgs; })
]; ];
programs.vscode = {
enable = true;
};
# Enable home-manager # Enable home-manager
programs.home-manager.enable = true; programs.home-manager.enable = true;

View 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
];
};
}

View File

@ -15,6 +15,7 @@
./applications/zellij.nix ./applications/zellij.nix
./applications/wezterm.nix ./applications/wezterm.nix
./applications/nushell.nix ./applications/nushell.nix
./applications/typst.nix
./services/nextcloud.nix ./services/nextcloud.nix
./services/podman.nix ./services/podman.nix