mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./gramps.nix
|
||||
];
|
||||
}
|
||||
@@ -1,20 +1,25 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
xlib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
grampsSource = "${xlib.dirs.wsl-storage}/gramps";
|
||||
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
|
||||
in
|
||||
{
|
||||
xdg = {
|
||||
enable = true;
|
||||
autostart.enable = true;
|
||||
configFile = {
|
||||
# "gramps" = {
|
||||
# source = config.lib.file.mkOutOfStoreSymlink grampsPath;
|
||||
# target = "gramps";
|
||||
# };
|
||||
"grampsConfig" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
|
||||
target = "gramps";
|
||||
};
|
||||
};
|
||||
dataFile = {
|
||||
"grampsData" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
|
||||
target = "gramps";
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = [
|
||||
|
||||
+1
-1
@@ -12,8 +12,8 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./wsl-apps
|
||||
./minimal.nix
|
||||
./wsl-apps/gramps.nix
|
||||
];
|
||||
xdg = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user