1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
This commit is contained in:
Rae 5e 2024-12-31 04:36:24 -05:00
parent a3b4ef0b30
commit f014608281
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
3 changed files with 16 additions and 2 deletions

View file

@ -12,6 +12,7 @@
left = [ left = [
{ {
# TODO: mpd <https://www.mankier.com/5/yambar-modules-mpd>
label = { label = {
content.string.text = "god's in his heaven | all's right with the world"; content.string.text = "god's in his heaven | all's right with the world";
}; };

View file

@ -57,9 +57,19 @@
alsa.enable = true; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
# TODO # Music directory is host-dependent
#? Using ALSA when we're using pipewire??? <https://nixos.wiki/wiki/MPD#PipeWire>
mpd = { mpd = {
enable = true; enable = true;
extraConfig = ''
audio_output {
type "alsa"
name "alsa"
mixer_type "hardware"
mixer_device "default"
mixer_control "PCM"
}
'';
}; };
# CUPS printing # CUPS printing
printing.enable = true; printing.enable = true;

View file

@ -27,7 +27,10 @@
networking.hostName = "ioides"; networking.hostName = "ioides";
services.xserver.videoDrivers = [ "nvidia" ]; services = {
mpd.musicDirectory = "/mnt/world/music";
xserver.videoDrivers = [ "nvidia" ];
};
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement = { powerManagement = {