diff --git a/hosts/Garand-Desktop/home-modules.nix b/hosts/Garand-Desktop/home-modules.nix index 9fcc348..5179ccd 100644 --- a/hosts/Garand-Desktop/home-modules.nix +++ b/hosts/Garand-Desktop/home-modules.nix @@ -52,6 +52,16 @@ _: { */ anki.enable = true; # Anki: spaced‑repetition flashcard program + /* + Productivity / Knowledge Management + */ + obsidian = { + enable = true; # Obsidian: Powerful knowledge base that works on top of a local folder of plain text Markdown files + vaults = { + "BoM".enable = true; # Blood of Mages: ttrpg session + }; + }; + /* XDG desktop entries (PWA) */ diff --git a/hosts/Garand-Laptop/home-modules.nix b/hosts/Garand-Laptop/home-modules.nix index 57460d4..1e45598 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -52,6 +52,16 @@ _: { */ anki.enable = true; # Anki: spaced‑repetition flashcard program + /* + Productivity / Knowledge Management + */ + obsidian = { + enable = true; # Obsidian: Powerful knowledge base that works on top of a local folder of plain text Markdown files + vaults = { + "BoM".enable = true; # Blood of Mages: ttrpg session + }; + }; + /* XDG desktop entries (PWA) */ diff --git a/hosts/default/home-modules.nix b/hosts/default/home-modules.nix index 00b0c73..a809678 100644 --- a/hosts/default/home-modules.nix +++ b/hosts/default/home-modules.nix @@ -52,6 +52,16 @@ _: { */ anki.enable = false; # Anki: spaced‑repetition flashcard program + /* + Productivity / Knowledge Management + */ + obsidian = { + enable = false; # Obsidian: Powerful knowledge base that works on top of a local folder of plain text Markdown files + vaults = { + "BoM".enable = false; # Blood of Mages: ttrpg session + }; + }; + /* XDG desktop entries (PWA) */ diff --git a/modules/core/packages/appimages/helium.nix b/modules/core/packages/appimages/helium.nix index 0367ee8..15a4afc 100644 --- a/modules/core/packages/appimages/helium.nix +++ b/modules/core/packages/appimages/helium.nix @@ -4,8 +4,8 @@ fetchurl, }: let pname = "helium"; - version = "0.13.3.1"; - hash = "sha256-RS+Sn42V+HjCw41N1zayMVIqlgH+i2B2IdVJwBPmw00="; + version = "0.13.4.1"; + hash = "sha256-z23up+T6bj6F+cQslmI92bEksIAw1OQHRIrmQSaaxY8="; src = fetchurl { url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage"; diff --git a/modules/home/default.nix b/modules/home/default.nix index daba246..9ab915c 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -8,6 +8,7 @@ _: { ./kitty ./librewolf ./noctalia + ./obsidian ./scripts ./vscodium ./xdg diff --git a/modules/home/obsidian/default-settings/default.nix b/modules/home/obsidian/default-settings/default.nix new file mode 100644 index 0000000..eed7124 --- /dev/null +++ b/modules/home/obsidian/default-settings/default.nix @@ -0,0 +1 @@ +_: {} diff --git a/modules/home/obsidian/default.nix b/modules/home/obsidian/default.nix new file mode 100644 index 0000000..7be412c --- /dev/null +++ b/modules/home/obsidian/default.nix @@ -0,0 +1,19 @@ +{ + pkgs, + lib, + config, + ... +}: { + options.obsidian.enable = lib.mkEnableOption "Obsidian"; + + config.programs.obsidian = lib.mkIf config.obsidian.enable { + enable = true; + package = pkgs.obsidian; + cli.enable = true; + }; + + imports = [ + # ./default-settings + ./vaults + ]; +} diff --git a/modules/home/obsidian/vaults/BoM.nix b/modules/home/obsidian/vaults/BoM.nix new file mode 100644 index 0000000..84f27c5 --- /dev/null +++ b/modules/home/obsidian/vaults/BoM.nix @@ -0,0 +1,12 @@ +{ + lib, + config, + ... +}: { + options.obsidian.vaults."BoM".enable = lib.mkEnableOption "Obsidian BoM vault"; + + config.programs.obsidian.vaults."BoM" = lib.mkIf config.obsidian.vaults."BoM".enable { + enable = true; + target = "Obsidian/BoM"; + }; +} diff --git a/modules/home/obsidian/vaults/default.nix b/modules/home/obsidian/vaults/default.nix new file mode 100644 index 0000000..68b74b4 --- /dev/null +++ b/modules/home/obsidian/vaults/default.nix @@ -0,0 +1,5 @@ +_: { + imports = [ + ./BoM.nix + ]; +} diff --git a/modules/home/stylix.nix b/modules/home/stylix.nix index 48cbba6..a213736 100644 --- a/modules/home/stylix.nix +++ b/modules/home/stylix.nix @@ -91,5 +91,15 @@ enable = true; colors.enable = true; }; + + obsidian = { + enable = true; + colors.enable = true; + fonts.enable = true; + polarity.enable = true; + vaultNames = [ + "BoM" + ]; + }; }; }