wsl-apps added

This commit is contained in:
2025-08-05 18:28:42 +03:00
parent af49875f2a
commit f52eb4e005
3 changed files with 28 additions and 7 deletions
+23
View File
@@ -0,0 +1,23 @@
{
config,
pkgs,
...
}:
let
grampsSource = "${xlib.dirs.wsl-storage}/gramps";
in
{
xdg = {
enable = true;
autostart.enable = true;
configFile = {
# "gramps" = {
# source = config.lib.file.mkOutOfStoreSymlink grampsPath;
# target = "gramps";
# };
};
};
home.packages = [
pkgs.gramps
];
}
+2 -4
View File
@@ -7,12 +7,13 @@
let let
# Paths # Paths
beetsPath = "${xlib.dirs.wsl-storage}/beets/linux"; beetsPath = "${xlib.dirs.wsl-storage}/beets/linux";
musicPath = "${config.home.homeDirectory}/External/Music";
externalPath = "${xlib.dirs.wsl-home}"; externalPath = "${xlib.dirs.wsl-home}";
musicPath = "${config.home.homeDirectory}/External/Music";
in in
{ {
imports = [ imports = [
./minimal.nix ./minimal.nix
./wsl-apps/gramps.nix
]; ];
xdg = { xdg = {
enable = true; enable = true;
@@ -47,8 +48,5 @@ in
target = "${config.home.homeDirectory}/Music"; target = "${config.home.homeDirectory}/Music";
}; };
}; };
packages = with pkgs; [
gramps
];
}; };
} }
+3 -3
View File
@@ -3,7 +3,7 @@
... ...
}: }:
{ {
# nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
# "libsoup-2.74.3" "libsoup-2.74.3"
# ]; ];
} }