Skip to content

Commit ac36f43

Browse files
committed
feat: add overrides for mindwtr - own folder, obsidian
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
1 parent 10b271e commit ac36f43

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

Config/config.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ rec {
9090
"Study-Materials"
9191
"Misc"
9292
"Notes"
93+
"MindWTR"
9394
];
9495
exclude = [ ];
9596
};
@@ -130,6 +131,8 @@ rec {
130131
containers = "${home}/Containers";
131132
# Where Obsidian Notes are stored.
132133
notes = "${base}/Notes";
134+
# Where MindWTR is stored.
135+
mindwtr = "${base}/MindWTR";
133136
};
134137
git = {
135138
# The username and email to set for Git.
@@ -221,6 +224,7 @@ rec {
221224
# "Joplin:/joplin"
222225
"Study-Materials:/study-materials"
223226
"Notes:/notes"
227+
"MindWTR:/mindwtr"
224228
]
225229
++ [
226230
"${backup.location}:/containers-backup"
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1+
{ config', ... }:
12
{
2-
services.flatpak.packages = [ "tech.dongdongbh.mindwtr" ];
3+
services.flatpak = {
4+
packages = [ "tech.dongdongbh.mindwtr" ];
5+
overrides = {
6+
"tech.dongdongbh.mindwtr".Context.filesystems = [
7+
config'.dir.mindwtr
8+
config'.dir.notes
9+
"!home"
10+
];
11+
};
12+
};
313
programs.autostart.flatpaks = [ "tech.dongdongbh.mindwtr" ];
414
}

0 commit comments

Comments
 (0)