change XDG music directory to synced library
This commit is contained in:
parent
34d9585591
commit
fee3fc3cb9
1 changed files with 8 additions and 1 deletions
9
home.nix
9
home.nix
|
@ -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";
|
||||
|
|
Reference in a new issue