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, config,
pkgs, pkgs,
xlib,
... ...
}: }:
let let
grampsSource = "${xlib.dirs.wsl-storage}/gramps"; grampsPath = "${xlib.dirs.wsl-storage}/gramps";
in in
{ {
xdg = { xdg = {
enable = true;
autostart.enable = true;
configFile = { configFile = {
# "gramps" = { "grampsConfig" = {
# source = config.lib.file.mkOutOfStoreSymlink grampsPath; source = config.lib.file.mkOutOfStoreSymlink grampsPath;
# target = "gramps"; target = "gramps";
# }; };
};
dataFile = {
"grampsData" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
}; };
}; };
home.packages = [ home.packages = [
+1 -1
View File
@@ -12,8 +12,8 @@ let
in in
{ {
imports = [ imports = [
./wsl-apps
./minimal.nix ./minimal.nix
./wsl-apps/gramps.nix
]; ];
xdg = { xdg = {
enable = true; enable = true;