1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-02-27 17:52:05 +00:00
This commit is contained in:
Rae 5e 2024-12-31 05:11:58 -05:00
parent 90b6fda593
commit 59d3fb5538
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
5 changed files with 16 additions and 17 deletions
TODO
configs/openbox
nixos

2
TODO
View file

@ -32,3 +32,5 @@
[x] Give yambar a try ;w; [x] Give yambar a try ;w;
[ ] Dig polybar's grave (you're not using it anymore so why keep it around?) [ ] Dig polybar's grave (you're not using it anymore so why keep it around?)
[ ] Get a pager/systray <https://wiki.gentoo.org/wiki/Openbox/Guide#Pagers_and_systrays> [ ] Get a pager/systray <https://wiki.gentoo.org/wiki/Openbox/Guide#Pagers_and_systrays>
[ ] Fix yambar being offset on your screen for some reason (might have to file an issue on its repo)
[ ] Host-dependent home configurations (e.g. don't assume MPD music is in `/mnt/world/music` for every machine)

View file

@ -1,4 +1,3 @@
hsetroot -cover ~/.dotfiles/assets/wallpapers/current hsetroot -cover ~/.dotfiles/assets/wallpapers/current
xcompmgr & xcompmgr &
sleep 5
yambar & yambar &

View file

@ -63,6 +63,16 @@
}; };
}; };
}; };
mpd = {
enable = true;
musicDirectory = "/mnt/world/music";
extraConfig = ''
audio_output {
type "pipewire"
name "main"
}
'';
};
mpris-proxy.enable = true; mpris-proxy.enable = true;
}; };

View file

@ -57,18 +57,6 @@
alsa.enable = true; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
# Music directory is host-dependent
#? Using ALSA when we're using pipewire??? <https://nixos.wiki/wiki/MPD#PipeWire>
mpd = {
enable = true;
#? user = "rae";
extraConfig = ''
audio_output {
type "pipewire"
name "main"
}
'';
};
# CUPS printing # CUPS printing
printing.enable = true; printing.enable = true;
# misc # misc
@ -104,10 +92,11 @@
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
''; '';
}; };
#?rm
# https://github.com/NixOS/nixpkgs/issues/102547#issuecomment-1016671189 # https://github.com/NixOS/nixpkgs/issues/102547#issuecomment-1016671189
mpd.environment = { # mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1000"; # XDG_RUNTIME_DIR = "/run/user/1000";
}; # };
}; };
xdg.portal = { xdg.portal = {

View file

@ -28,7 +28,6 @@
networking.hostName = "ioides"; networking.hostName = "ioides";
services = { services = {
mpd.musicDirectory = "/mnt/world/music";
xserver.videoDrivers = [ "nvidia" ]; xserver.videoDrivers = [ "nvidia" ];
}; };
hardware.nvidia = { hardware.nvidia = {