Files
nixos/home/type/wsl.nix
T
2025-08-04 21:39:24 +03:00

60 lines
1.3 KiB
Nix

{
config,
pkgs,
...
}:
let
# Paths
beetsPath = "${xlib.dirs.wsl-storage}/beets/linux";
#sshPath = "${xlib.dirs.wsl-storage}/ssh/${config.xlib.devices.server.hostname}";
musicPath = "${config.home.homeDirectory}/External/Music";
externalPath = "${xlib.dirs.wsl-home}";
in
{
imports = [
./minimal.nix
];
xdg = {
enable = true;
autostart.enable = true;
configFile = {
"beets" = {
source = config.lib.file.mkOutOfStoreSymlink beetsPath;
target = "beets";
};
};
# userDirs = {
# enable = false;
# createDirectories = false;
# desktop = null;
# documents = null;
# download = null;
# music = null;
# pictures = null;
# publicShare = null;
# templates = null;
# videos = null;
# };
};
home = {
file = {
"External" = {
source = config.lib.file.mkOutOfStoreSymlink externalPath;
target = "External";
};
"Music" = {
source = config.lib.file.mkOutOfStoreSymlink musicPath;
target = "${config.home.homeDirectory}/Music";
};
};
# pointerCursor = {
# enable = true;
# x11.enable = true;
# gtk.enable = true;
# size = 24;
# name = "Qogir";
# package = pkgs.qogir-icon-theme;
# };
};
}