Files
nixos/homeConfigurations/wsl-apps/gramps.nix
T
2025-08-15 12:51:34 +03:00

29 lines
454 B
Nix
Executable File

{
config,
pkgs,
xlib,
...
}:
let
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
in
{
xdg = {
configFile = {
"grampsConfig" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
dataFile = {
"grampsData" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
};
home.packages = [
pkgs.gramps
];
}