mv obsidian to module
nix flake show / show-flake (push) Successful in 30s

This commit is contained in:
smayzy
2025-07-17 15:16:34 +02:00
parent 10120f7c2d
commit c440d392fa
6 changed files with 20 additions and 2 deletions
+1
View File
@@ -2,5 +2,6 @@
{
imports = [
./office.nix
./obsidian.nix
];
}
+17
View File
@@ -0,0 +1,17 @@
{ 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
];
};
}