Skip to content

Commit

Permalink
fixup! mpd: use XDG music directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jun 23, 2024
1 parent 15669a4 commit dd2e681
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
7 changes: 6 additions & 1 deletion configurations/akane/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ in
../../../modules/home-manager/media.nix
../../../modules/home-manager/office.nix

({pkgs, ...}: rec {
({
config,
pkgs,
...
}: rec {
home.packages = with pkgs; [
lightburn
scrcpy
Expand All @@ -35,6 +39,7 @@ in
"com.adobe.Flash-Player-Projector"
];

xdg.userDirs.music = "${config.home.homeDirectory}/music";
services.mpd.enable = true;

programs.borgmatic.backups."main" = {
Expand Down
2 changes: 0 additions & 2 deletions configurations/hina/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ in
"com.adobe.Flash-Player-Projector"
];

services.mpd.enable = true;

programs.borgmatic.backups."main" = {
location = {
sourceDirectories = [
Expand Down
7 changes: 6 additions & 1 deletion configurations/maya/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ in
../../../modules/home-manager/media.nix
../../../modules/home-manager/office.nix

({pkgs, ...}: rec {
({
config,
pkgs,
...
}: rec {
home.packages = with pkgs; [
nur.repos.DanNixon.metty
nur.repos.DanNixon.satorictl-unstable
Expand All @@ -33,6 +37,7 @@ in
"com.valvesoftware.Steam"
];

xdg.userDirs.music = "${config.home.homeDirectory}/music";
services.mpd.enable = true;

programs.borgmatic.backups."main" = {
Expand Down
3 changes: 2 additions & 1 deletion modules/home-manager/desktop_environment/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
lib,
config,
pkgs,
...
Expand Down Expand Up @@ -40,7 +41,7 @@
desktop = null;
documents = "${config.home.homeDirectory}/documents";
download = "${config.home.homeDirectory}/downloads";
music = "${config.home.homeDirectory}/music";
music = lib.mkDefault null;
pictures = null;
publicShare = null;
templates = null;
Expand Down

0 comments on commit dd2e681

Please sign in to comment.