obsidian: added obsidian setting

This commit is contained in:
Tigor Hutasuhut 2024-09-30 09:12:17 +07:00
parent fcc5df9541
commit 85da8ed4df
4 changed files with 15 additions and 0 deletions

View file

@ -22,6 +22,7 @@
./nextcloud.nix ./nextcloud.nix
./nnn.nix ./nnn.nix
./node.nix ./node.nix
./obsidian.nix
./slack.nix ./slack.nix
./spotify.nix ./spotify.nix
./starship.nix ./starship.nix

View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
let
cfg = config.profile.home.programs.obsidian;
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable {
home.packages = with pkgs; [
obsidian
];
};
}

View file

@ -111,6 +111,7 @@
bruno.enable = lib.mkEnableOption "bruno"; bruno.enable = lib.mkEnableOption "bruno";
zoom.enable = lib.mkEnableOption "zoom"; zoom.enable = lib.mkEnableOption "zoom";
elisa.enable = lib.mkEnableOption "elisa"; elisa.enable = lib.mkEnableOption "elisa";
obsidian.enable = lib.mkEnableOption "obsidian";
}; };
programs = { programs = {

View file

@ -92,6 +92,7 @@ in
bruno.enable = true; bruno.enable = true;
zoom.enable = true; zoom.enable = true;
elisa.enable = true; elisa.enable = true;
obsidian.enable = true;
}; };
programs.easyeffects.enable = true; programs.easyeffects.enable = true;
programs.wezterm.enable = true; programs.wezterm.enable = true;