From 5ff67cdcffc8773dc52e1f9a0256e1e3c0b5db17 Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 13 Jul 2025 18:53:06 +0200 Subject: [PATCH 1/3] started working on mpd support --- hosts/goober/features/software/workstation.nix | 10 ++++++++++ scripts/search-music-and-launch.nix | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 scripts/search-music-and-launch.nix diff --git a/hosts/goober/features/software/workstation.nix b/hosts/goober/features/software/workstation.nix index 84907e3..7a2a305 100644 --- a/hosts/goober/features/software/workstation.nix +++ b/hosts/goober/features/software/workstation.nix @@ -70,6 +70,16 @@ osu-lazer-bin ]; + services.mpdscribble = { + enable = true; + endpoints = { + "last.fm" = { + passwordFile = "/run/secrets/lastfm_password"; + username = "ariburnznfire"; + }; + }; + }; + virtualisation.containers.enable = true; virtualisation = { podman = { diff --git a/scripts/search-music-and-launch.nix b/scripts/search-music-and-launch.nix new file mode 100644 index 0000000..6b51bef --- /dev/null +++ b/scripts/search-music-and-launch.nix @@ -0,0 +1,6 @@ +{ pkgs }: +pkgs.writeShellScriptBin "search-music-and-launch" '' + mpc clear + mpc add $(mpc listall | ${pkgs.fuzzel}/bin/fuzzel --dmenu) + mpc play +'' From b80fb6a674ced983f5b57c6f4c9a1d3278767eb1 Mon Sep 17 00:00:00 2001 From: harry123 Date: Mon, 14 Jul 2025 13:37:14 +0200 Subject: [PATCH 2/3] fixed vesktop and added mpv config --- home-manager/dotfiles/niri/config.kdl | 1 + home-manager/home.nix | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/home-manager/dotfiles/niri/config.kdl b/home-manager/dotfiles/niri/config.kdl index 2a81bab..e834891 100644 --- a/home-manager/dotfiles/niri/config.kdl +++ b/home-manager/dotfiles/niri/config.kdl @@ -594,6 +594,7 @@ workspace "chat" window-rule { match at-startup=true app-id=r#"^discord$"# + match at-startup=true app-id=r#"^vesktop$"# match at-startup=true app-id=r#"^Beeper$"# open-on-workspace "chat" } diff --git a/home-manager/home.nix b/home-manager/home.nix index c1b2d08..df7d0c8 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -266,6 +266,31 @@ home.shell.enableZshIntegration = true; + programs.mpv = { + enable = true; + package = ( + pkgs.mpv-unwrapped.wrapper { + scripts = with pkgs.mpvScripts; [ + uosc + sponsorblock + mpv-notify-send + mpv-discord + youtube-upnext + ]; + + mpv = pkgs.mpv-unwrapped.override { + waylandSupport = true; + ffmpeg = pkgs.ffmpeg-full; + }; + } + ); + config = { + profile = "high-quality"; + ytdl-format = "bestvideo+bestaudio"; + cache-default = 4000000; + }; + }; + programs.zsh = { enable = true; enableCompletion = true; From 3ed5eb575743db75c30061e806bbc1f991fba10d Mon Sep 17 00:00:00 2001 From: harry123 Date: Mon, 14 Jul 2025 13:37:25 +0200 Subject: [PATCH 3/3] more software --- hosts/goober/features/software/workstation.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/goober/features/software/workstation.nix b/hosts/goober/features/software/workstation.nix index 7a2a305..455840f 100644 --- a/hosts/goober/features/software/workstation.nix +++ b/hosts/goober/features/software/workstation.nix @@ -17,6 +17,7 @@ zathura # music editing software reaper + surge libreoffice-qt hunspell