Files
nixos/homeConfigurations/wsl-apps/gramps.nix
T
2025-08-28 18:19:50 +03:00

31 lines
553 B
Nix
Executable File

{
config,
pkgs,
xlib,
inputs,
...
}:
let
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; };
in
{
xdg = {
configFile = {
"grampsConfig" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
dataFile = {
"grampsData" = {
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
target = "gramps";
};
};
};
home.packages = [
last-stable.gramps
];
}