123
This commit is contained in:
1 parent
f52eb4e005
commit
8b48a60b6d
3 files changed
+21
-8
No files matched your search
@@ -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