1

Modules: Fix typos

This commit is contained in:
2025-07-08 23:26:32 +02:00
parent f04be85834
commit c3729289df
2 changed files with 72 additions and 52 deletions

View File

@ -11,7 +11,7 @@ in {
options.modules.git = import ./options.nix {inherit lib mylib;};
config = lib.mkIf git.enable {
home.programs.git = {
programs.git = {
enable = true;
# userEmail = "christoph.urlacher@protonmail.com";

View File

@ -11,7 +11,8 @@ in {
options.modules.mpd = import ./options.nix {inherit lib mylib;};
config = lib.mkIf mpd.enable {
services.mpd = {
services = {
mpd = {
enable = true;
dataDir = "${config.home.homeDirectory}/Music/.mpd";
musicDirectory = "${config.home.homeDirectory}/Music";
@ -38,7 +39,8 @@ in {
type "pipewire"
name "PipeWire Sound Server"
# Use hardware mixer instead of software volume filter (replaygain_handler "software")
# Use hardware mixer instead of software volume filter
# Alternative: replaygain_handler "software"
# mixer_type "hardware"
# replay_gain_handler "mixer"
}
@ -56,16 +58,34 @@ in {
# size "1 GB"
# }
# follow_outside_symlinks "no" # If mpd should follow symlinks pointing outside the musicDirectory
# follow_inside_symlinks "yes" # If mpd should follow symlinks pointing inside the musicDirectory
# If mpd should follow symlinks pointing outside the musicDirectory
# follow_outside_symlinks "no"
# If mpd should follow symlinks pointing inside the musicDirectory
# follow_inside_symlinks "yes"
'';
};
};
# MPD integration with mpris (used by player-ctl).
# We want to use mpris as it also supports other players (e.g. Spotify) or browsers.
services.mpd-mpris = {
mpd-mpris = {
enable = true;
mpd.useLocal = true;
};
mpd-discord-rpc = {
enable = true;
# NOTE: Bitch wants to create a default config file inside a
# read-only filesystem when changing settings here...
# settings = {
# hosts = "127.0.0.1:${builtins.toString config.services.mpd.network.port}";
# format = {
# details = "$title";
# state = "On $album by $artist";
# };
# };
};
};
};
}