1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-30 22:53:37 +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 = [
{
# TODO: mpd <https://www.mankier.com/5/yambar-modules-mpd>
label = {
content.string.text = "god's in his heaven | all's right with the world";
};

View file

@ -57,9 +57,19 @@
alsa.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 = {
enable = true;
extraConfig = ''
audio_output {
type "alsa"
name "alsa"
mixer_type "hardware"
mixer_device "default"
mixer_control "PCM"
}
'';
};
# CUPS printing
printing.enable = true;

View file

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