Compare commits
2 Commits
514f2c8d07
...
1a38405c89
Author | SHA1 | Date |
---|---|---|
coolneng | 1a38405c89 | |
coolneng | 742447a411 |
|
@ -1,8 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
{
|
||||||
|
|
||||||
in {
|
|
||||||
# Configure pipewire as sound server
|
# Configure pipewire as sound server
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -36,7 +34,6 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensionPackages = with pkgs; [
|
extensionPackages = with pkgs; [
|
||||||
mopidy-mpd
|
mopidy-mpd
|
||||||
mopidy-soundcloud
|
|
||||||
mopidy-youtube
|
mopidy-youtube
|
||||||
mopidy-somafm
|
mopidy-somafm
|
||||||
mopidy-local
|
mopidy-local
|
||||||
|
@ -65,11 +62,6 @@ in {
|
||||||
[http]
|
[http]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
|
||||||
[soundcloud]
|
|
||||||
enabled = true
|
|
||||||
auth_token = ${soundcloud_token}
|
|
||||||
explore_songs = 100
|
|
||||||
|
|
||||||
[m3u]
|
[m3u]
|
||||||
playlists_dir = /home/coolneng/.config/mpd/playlists
|
playlists_dir = /home/coolneng/.config/mpd/playlists
|
||||||
base_dir = /home/coolneng/Music
|
base_dir = /home/coolneng/Music
|
||||||
|
|
|
@ -41,8 +41,6 @@ with pkgs;
|
||||||
export MOZ_USE_XINPUT2=1
|
export MOZ_USE_XINPUT2=1
|
||||||
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
|
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
export GTK_THEME=Adapta-Eta
|
export GTK_THEME=Adapta-Eta
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue