fix(home): minor fixes

This commit is contained in:
ooks-io 2024-06-14 21:41:00 +12:00
parent 7625687816
commit 8ae77d70dc
4 changed files with 7 additions and 5 deletions

View file

@ -34,7 +34,6 @@ in
diffsitter # Better diff
jq # JSON pretty printer and manipulator
comma # Install and run with ","
tldr # Community maintained help pages
progress
killall

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }:
{ osConfig, pkgs, config, lib, ... }:
let
inherit (config.colorscheme) palette;
@ -7,6 +7,7 @@ let
cfg = config.ooknet.media.music.tui;
zellij = config.ooknet.multiplexer.zellij;
multiplexer= config.ooknet.console.multiplexer;
hostName = osConfig.networking.hostName;
# removed image support because it was causing issues with zellij
spotify-cli = pkgs.spotify-player.override {
@ -62,7 +63,7 @@ in
enable_notify = true
enable_cover_image_cache = false
notify_streaming_only = false
default_device = "${config.home.sessionVariables.HN}"
default_device = "${hostName}"
play_icon = ""
pause_icon = ""
liked_icon = ""
@ -72,7 +73,7 @@ in
playback_window_width = 6
[device]
name = "${config.home.sessionVariables.HN}"
name = "${hostName}"
device_type = "speaker"
volume = 100
bitrate = 320

View file

@ -9,6 +9,6 @@ in
{
config = mkIf (multiplexer == "zellij" && launcher == "rofi") {
home.packages = [ inputs.ooks-scripts.packages.${pkgs.system}.zellijmenu ];
ooknet.binds.zellijMenu = "zellijMenu -n";
ooknet.binds.zellijMenu = "zellijmenu -n";
};
}

View file

@ -3,5 +3,7 @@
./gaming.nix
./creative.nix
./productivity.nix
./console-tools.nix
./media.nix
];
}