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