feat: add music and zsh and zathura improvements

This commit is contained in:
2026-01-20 12:40:15 -05:00
parent 0d21f85c84
commit 2adf1b010b
6 changed files with 32 additions and 12 deletions

View File

@@ -0,0 +1,27 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
mpc
ncmpcpp
];
services.mpd = {
enable = true;
musicDirectory = "/home/max/media/music";
user = "max";
extraConfig = ''
audio_output {
type "pipewire"
name "Pipewire Ouput"
}
'';
};
systemd = {
services = {
mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1001";
};
};
};
}

View File

@@ -8,18 +8,13 @@
./sops.nix
../common/optional/desktop/hyprland.nix
# ../common/optional/desktop/cosmic.nix
../common/optional/font.nix
../common/optional/yubikey.nix
../common/optional/browser.nix
../common/optional/locale.nix
../common/optional/email.nix
./proton.nix
../common/optional/proton.nix
../common/optional/music.nix
];
# Use the systemd-boot EFI boot loader.
@@ -71,9 +66,7 @@
file
just
# mpc
libreoffice-qt
# ncmpcpp
pkgs-unstable.signal-desktop-bin
pkgs-unstable.gurk-rs

View File

@@ -48,6 +48,8 @@
autocd = true;
initContent = ''
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
fzf-project() {
selected=$(find ~/dev -mindepth 2 -maxdepth 2 | sed 's|/home/max/dev/||' | fzf --delimiter '/' --nth 2)
if [[ -n $selected ]]; then

View File

@@ -2,8 +2,6 @@
programs.zathura = {
enable = true;
options = {
default-bg = "white";
font = "Monocraft";
selection-clipboard = "clipboard";
};
};