Compare commits
No commits in common. "1a38405c8916eb574cb26f1b0ec605bd80fe5092" and "514f2c8d07807ed46c31016cf2f253d95051eae3" have entirely different histories.
1a38405c89
...
514f2c8d07
|
@ -1,6 +1,8 @@
|
||||||
{ 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;
|
||||||
|
@ -34,6 +36,7 @@
|
||||||
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
|
||||||
|
@ -62,6 +65,11 @@
|
||||||
[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,6 +41,8 @@ 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