aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-31 17:09:50 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-31 17:09:50 +0200
commit72f6b08d2442e2fdd24df0d4903bc9ee9a45fd1a (patch)
treeebf5fd4779d6e2630cc743d3eff4224b03098e5b
parent4f6444696e49e674db0e60628e3c3395adffa375 (diff)
downloadnixos-72f6b08d2442e2fdd24df0d4903bc9ee9a45fd1a.tar.zst
Add initial obsidian
-rw-r--r--home/default.nix36
-rw-r--r--home/hyprland.nix1
2 files changed, 34 insertions, 3 deletions
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 = {