change XDG music directory to synced library

This commit is contained in:
Pim Kunis 2023-10-01 13:26:24 +02:00
parent 34d9585591
commit fee3fc3cb9

View file

@ -2,11 +2,12 @@
let
nurpkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
firefox-addons = import ./firefox-addons (args // {inherit nurpkgs; });
homeDirectory = "/home/pim";
in
{
home = {
username = "pim";
homeDirectory = "/home/pim";
homeDirectory = homeDirectory;
stateVersion = "23.05";
packages = with pkgs; [
@ -160,6 +161,12 @@ in
xdg = {
configFile."keepassxc/keepassxc.ini".text = lib.generators.toINI {} (import ./keepassxc.nix);
userDirs = {
enable = true;
music = "${homeDirectory}/sync/Music";
};
desktopEntries.firefox-sue = {
categories = [ "Network" "WebBrowser" ];
exec = "firefox -P sue --name firefox %U";