Replace mpv in workstations with a home manager module

This commit is contained in:
Bad 2022-03-20 00:04:54 +01:00
parent 638b1c1a7c
commit cb82140c25
3 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,5 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
mpv
pavucontrol
signal-desktop
tdesktop

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
{
imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/vscode ];
imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/vscode ../profiles/mpv ];
home.sessionVariables = {
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share";

View file

@ -0,0 +1,10 @@
{pkgs, ...}: {
programs.mpv = {
enable = true;
config = {
slang= "eng";
alang= "eng";
};
defaultProfiles = [ "gpu-hq" ];
};
}