From cb82140c2570845bcb8062a3e74478876b363775 Mon Sep 17 00:00:00 2001 From: Bad Date: Sun, 20 Mar 2022 00:04:54 +0100 Subject: [PATCH] Replace mpv in workstations with a home manager module --- profiles/workstation/default.nix | 1 - users/mae/home-manager-base.nix | 2 +- users/profiles/mpv/default.nix | 10 ++++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 users/profiles/mpv/default.nix diff --git a/profiles/workstation/default.nix b/profiles/workstation/default.nix index e9a4f53..f5f2dcb 100644 --- a/profiles/workstation/default.nix +++ b/profiles/workstation/default.nix @@ -1,6 +1,5 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ - mpv pavucontrol signal-desktop tdesktop diff --git a/users/mae/home-manager-base.nix b/users/mae/home-manager-base.nix index e30f3f6..4b8b8b6 100644 --- a/users/mae/home-manager-base.nix +++ b/users/mae/home-manager-base.nix @@ -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"; diff --git a/users/profiles/mpv/default.nix b/users/profiles/mpv/default.nix new file mode 100644 index 0000000..7e064d1 --- /dev/null +++ b/users/profiles/mpv/default.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: { + programs.mpv = { + enable = true; + config = { + slang= "eng"; + alang= "eng"; + }; + defaultProfiles = [ "gpu-hq" ]; + }; +}