mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +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 {
|
window-rule {
|
||||||
match at-startup=true app-id=r#"^discord$"#
|
match at-startup=true app-id=r#"^discord$"#
|
||||||
|
match at-startup=true app-id=r#"^vesktop$"#
|
||||||
match at-startup=true app-id=r#"^Beeper$"#
|
match at-startup=true app-id=r#"^Beeper$"#
|
||||||
open-on-workspace "chat"
|
open-on-workspace "chat"
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,6 +266,31 @@
|
||||||
|
|
||||||
home.shell.enableZshIntegration = true;
|
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 = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
zathura
|
zathura
|
||||||
# music editing software
|
# music editing software
|
||||||
reaper
|
reaper
|
||||||
|
surge
|
||||||
|
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
hunspell
|
hunspell
|
||||||
|
@ -70,6 +71,16 @@
|
||||||
osu-lazer-bin
|
osu-lazer-bin
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.mpdscribble = {
|
||||||
|
enable = true;
|
||||||
|
endpoints = {
|
||||||
|
"last.fm" = {
|
||||||
|
passwordFile = "/run/secrets/lastfm_password";
|
||||||
|
username = "ariburnznfire";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
podman = {
|
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