mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
wsl-apps added
This commit is contained in:
@@ -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
@@ -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
@@ -3,7 +3,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
# "libsoup-2.74.3"
|
"libsoup-2.74.3"
|
||||||
# ];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user