mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 19:14:19 +00:00
spotify-player dotfile, snuck in stress application for s-tui stress testing
This commit is contained in:
@@ -20,38 +20,39 @@
|
|||||||
services.hardware.openrgb.enable = true;
|
services.hardware.openrgb.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kitty
|
desktop-file-utils
|
||||||
lf
|
dnsutils
|
||||||
|
ffmpeg-full
|
||||||
git
|
git
|
||||||
|
gparted
|
||||||
htop
|
htop
|
||||||
iftop
|
iftop
|
||||||
iotop
|
|
||||||
util-linux
|
|
||||||
usbutils
|
|
||||||
dnsutils
|
|
||||||
unzip
|
|
||||||
killall
|
|
||||||
wget
|
|
||||||
jq
|
|
||||||
speedcrunch
|
|
||||||
gparted
|
|
||||||
ffmpeg-full
|
|
||||||
xfce.mousepad
|
|
||||||
imagemagick
|
imagemagick
|
||||||
nvtopPackages.full
|
iotop
|
||||||
|
jq
|
||||||
|
killall
|
||||||
|
kitty
|
||||||
|
lf
|
||||||
ncdu
|
ncdu
|
||||||
s-tui
|
networkmanager
|
||||||
|
networkmanagerapplet
|
||||||
nmap
|
nmap
|
||||||
|
nvtopPackages.full
|
||||||
|
openrgb-with-all-plugins
|
||||||
pciutils
|
pciutils
|
||||||
desktop-file-utils
|
rofi-bluetooth
|
||||||
rpi-imager
|
rpi-imager
|
||||||
rpiboot
|
rpiboot
|
||||||
streamdeck-ui
|
s-tui
|
||||||
scrcpy
|
scrcpy
|
||||||
openrgb-with-all-plugins
|
speedcrunch
|
||||||
networkmanagerapplet
|
streamdeck-ui
|
||||||
rofi-bluetooth
|
stress
|
||||||
networkmanager
|
unzip
|
||||||
|
usbutils
|
||||||
|
util-linux
|
||||||
|
wget
|
||||||
|
xfce.mousepad
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
kanshiConfigPath = ./. + "/dotfiles/kanshi/${config.networking.hostName}";
|
kanshiConfigPath = ./. + "/dotfiles/kanshi/${config.networking.hostName}";
|
||||||
|
spotifyPlayerAppTomlTextTemplate = builtins.readFile ./dotfiles/spotify-player/app.toml;
|
||||||
|
spotifyPlayerAppTomlText = builtins.replaceStrings [ "{{hostname}}" ] [ config.networking.hostName ] spotifyPlayerAppTomlTextTemplate;
|
||||||
waybarConfigPath = ./. + "/dotfiles/waybar/${config.networking.hostName}";
|
waybarConfigPath = ./. + "/dotfiles/waybar/${config.networking.hostName}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -33,6 +35,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/kanshi/config".source = kanshiConfigPath + "/config";
|
home.file.".config/kanshi/config".source = kanshiConfigPath + "/config";
|
||||||
|
home.file.".config/spotify-player/app.toml".text = spotifyPlayerAppTomlText;
|
||||||
home.file.".config/waybar/config".source = waybarConfigPath + "/config";
|
home.file.".config/waybar/config".source = waybarConfigPath + "/config";
|
||||||
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
||||||
};
|
};
|
||||||
|
|||||||
49
users/caperren/dotfiles/spotify-player/app.toml
Normal file
49
users/caperren/dotfiles/spotify-player/app.toml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
theme = "dracula"
|
||||||
|
client_id = "65b708073fc0480ea92a077233ca87bd"
|
||||||
|
client_port = 8080
|
||||||
|
login_redirect_uri = "http://127.0.0.1:8989/login"
|
||||||
|
playback_format = """
|
||||||
|
{status} {track} • {artists}
|
||||||
|
{album}
|
||||||
|
{metadata}"""
|
||||||
|
notify_timeout_in_secs = 0
|
||||||
|
tracks_playback_limit = 1000
|
||||||
|
app_refresh_duration_in_ms = 32
|
||||||
|
playback_refresh_duration_in_ms = 0
|
||||||
|
page_size_in_rows = 20
|
||||||
|
play_icon = "▶"
|
||||||
|
pause_icon = "▌▌"
|
||||||
|
liked_icon = "♥"
|
||||||
|
border_type = "Plain"
|
||||||
|
progress_bar_type = "Rectangle"
|
||||||
|
cover_img_length = 9
|
||||||
|
cover_img_width = 5
|
||||||
|
cover_img_scale = 1.0
|
||||||
|
enable_media_control = true
|
||||||
|
enable_streaming = "Always"
|
||||||
|
enable_notify = true
|
||||||
|
enable_cover_image_cache = true
|
||||||
|
default_device = "{{hostname}}"
|
||||||
|
notify_streaming_only = false
|
||||||
|
seek_duration_secs = 5
|
||||||
|
|
||||||
|
[notify_format]
|
||||||
|
summary = "{track} • {artists}"
|
||||||
|
body = "{album}"
|
||||||
|
|
||||||
|
[layout]
|
||||||
|
playback_window_position = "Top"
|
||||||
|
playback_window_height = 6
|
||||||
|
|
||||||
|
[layout.library]
|
||||||
|
playlist_percent = 40
|
||||||
|
album_percent = 40
|
||||||
|
|
||||||
|
[device]
|
||||||
|
name = "{{hostname}}"
|
||||||
|
device_type = "speaker"
|
||||||
|
volume = 100
|
||||||
|
bitrate = 320
|
||||||
|
audio_cache = false
|
||||||
|
normalization = false
|
||||||
|
autoplay = false
|
||||||
Reference in New Issue
Block a user