mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
Compare commits
3 commits
a68d9b30fc
...
3ed5eb5757
Author | SHA1 | Date | |
---|---|---|---|
3ed5eb5757 | |||
b80fb6a674 | |||
5ff67cdcff |
4 changed files with 43 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
zathura
|
||||
# music editing software
|
||||
reaper
|
||||
surge
|
||||
|
||||
libreoffice-qt
|
||||
hunspell
|
||||
|
@ -70,6 +71,16 @@
|
|||
osu-lazer-bin
|
||||
];
|
||||
|
||||
services.mpdscribble = {
|
||||
enable = true;
|
||||
endpoints = {
|
||||
"last.fm" = {
|
||||
passwordFile = "/run/secrets/lastfm_password";
|
||||
username = "ariburnznfire";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
|
|
6
scripts/search-music-and-launch.nix
Normal file
6
scripts/search-music-and-launch.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs }:
|
||||
pkgs.writeShellScriptBin "search-music-and-launch" ''
|
||||
mpc clear
|
||||
mpc add $(mpc listall | ${pkgs.fuzzel}/bin/fuzzel --dmenu)
|
||||
mpc play
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue