mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 07:03:36 +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 = [
|
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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue