obsidian: added obsidian setting
This commit is contained in:
parent
fcc5df9541
commit
85da8ed4df
|
@ -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
|
||||||
|
|
12
home/programs/obsidian.nix
Normal file
12
home/programs/obsidian.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue