mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-30 22:53:37 +00:00
~
This commit is contained in:
parent
a3b4ef0b30
commit
f014608281
3 changed files with 16 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue