nix-config/modules/nix/office/obsidian.nix
smayzy c440d392fa
All checks were successful
nix flake show / show-flake (push) Successful in 30s
mv obsidian to module
2025-07-17 15:16:34 +02:00

18 lines
324 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.obsidian.enable = mkOption {
type = types.bool;
default = false;
description = "obsidian";
};
config = mkIf config.smayzy.obsidian.enable {
environment.systemPackages = with pkgs; [
obsidian
];
};
}