Files
nixos/home/apps/gramps.nix
T
2025-11-02 12:31:36 +03:00

31 lines
548 B
Nix

{
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 = [
pkgs.gramps
];
}