Added typst
This commit is contained in:
parent
38cb4a54b1
commit
a79b1b7281
@ -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;
|
||||
|
||||
|
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user