From 72f6b08d2442e2fdd24df0d4903bc9ee9a45fd1a Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Wed, 31 Dec 2025 17:09:50 +0200 Subject: Add initial obsidian --- home/default.nix | 36 +++++++++++++++++++++++++++++++++--- home/hyprland.nix | 1 + 2 files changed, 34 insertions(+), 3 deletions(-) (limited to 'home') diff --git a/home/default.nix b/home/default.nix index b8c5fad..76e83cc 100644 --- a/home/default.nix +++ b/home/default.nix @@ -80,10 +80,10 @@ in }; pointerCursor = { - package = pkgs.bibata-cursors; + package = pkgs.rose-pine-hyprcursor; hyprcursor.enable = true; gtk.enable = true; - name = "Bibata-Modern-Ice"; + name = "rose-pine-hyprcursor"; size = 22; }; @@ -109,7 +109,7 @@ in hyprpaper libreoffice lxqt.pavucontrol-qt - obsidian # note taking application + rose-pine-hyprcursor # hyprcursor theme sqlitebrowser # sqlite swayimg # image viewer wireshark @@ -258,6 +258,36 @@ in }; programs = { + obsidian = { + enable = true; + defaultSettings.app = { + strictLineBreaks = true; + showUnsupportedFiles = true; + alwaysUpdateLinks = true; + pdfExportSettings = { + includeName = true; + pageSize = "A4"; + landscape = false; + margin = "0"; + downscalePercent = 100; + }; + }; + vaults = { + obsidian-vault = { + enable = true; + target = "Documents/obsidian-vault"; + #settings = { + #communityPlugins = { + # obsidian-livesync = { + # enable = true; + # }; + # lean-syntax-highlight = { + # enable = true; + # }; + #}; + }; + }; + }; home-manager.enable = true; chawan = { enable = true; diff --git a/home/hyprland.nix b/home/hyprland.nix index 2728217..efc590f 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -70,6 +70,7 @@ gesture = 2, up, dispatcher, workspace 4 exec-once = ${pkgs.hyprlock}/bin/hyprlock --immediate; + env = HYPRCURSOR_THEME,rose-pine-hyprcursor ''; xwayland.enable = true; settings = { -- cgit v1.2.3-70-g09d2