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