This commit is contained in:
2025-08-05 18:33:20 +03:00
parent f52eb4e005
commit 8b48a60b6d
3 changed files with 21 additions and 8 deletions
+8
View File
@@ -0,0 +1,8 @@
{
...
}:
{
imports = [
./gramps.nix
];
}
+12 -7
View File
@@ -1,20 +1,25 @@
{
config,
pkgs,
xlib,
...
}:
let
grampsSource = "${xlib.dirs.wsl-storage}/gramps";
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
in
{
xdg = {
enable = true;
autostart.enable = true;
configFile = {
# "gramps" = {
# source = config.lib.file.mkOutOfStoreSymlink grampsPath;
# target = "gramps";
# };
"grampsConfig" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
dataFile = {
"grampsData" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
};
home.packages = [
+1 -1
View File
@@ -12,8 +12,8 @@ let
in
{
imports = [
./wsl-apps
./minimal.nix
./wsl-apps/gramps.nix
];
xdg = {
enable = true;