mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
30 lines
464 B
Nix
30 lines
464 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
xlib,
|
|
inputs,
|
|
...
|
|
}:
|
|
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
|
|
];
|
|
}
|