From 33e20b86854c197123d6b954ddeb47538887884b Mon Sep 17 00:00:00 2001 From: Kabbone Date: Thu, 3 Nov 2022 17:03:16 +0100 Subject: [PATCH] configs: structure fixup --- hosts/home.nix | 1 + modules/programs/configs/mpv.conf | 5 ----- modules/programs/configs/mpv.nix | 5 +++-- modules/programs/default.nix | 1 - 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 modules/programs/configs/mpv.conf diff --git a/hosts/home.nix b/hosts/home.nix index 29754d0..5ecd8c2 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -21,6 +21,7 @@ imports = # Home Manager Modules (import ../modules/editors) ++ (import ../modules/programs) ++ + (import ../modules/programs/configs) ++ (import ../modules/services) ++ (import ../modules/shell); diff --git a/modules/programs/configs/mpv.conf b/modules/programs/configs/mpv.conf deleted file mode 100644 index dfc44d2..0000000 --- a/modules/programs/configs/mpv.conf +++ /dev/null @@ -1,5 +0,0 @@ -hwdec=vaapi -vo=gpu -hwdec-codecs=all -gpu-context=wayland -#profile=gpu-hq diff --git a/modules/programs/configs/mpv.nix b/modules/programs/configs/mpv.nix index 105631b..1d1ab25 100644 --- a/modules/programs/configs/mpv.nix +++ b/modules/programs/configs/mpv.nix @@ -10,7 +10,7 @@ # └─ mpv.nix * # -{ config, lib, pkgs, ... }: +{ pkgs, ... }: { home.file = { @@ -20,5 +20,6 @@ hwdec-codecs=all gpu-context=wayland #profile=gpu-hq - ''; + ''; + }; } diff --git a/modules/programs/default.nix b/modules/programs/default.nix index a5fb70d..3e8c020 100644 --- a/modules/programs/default.nix +++ b/modules/programs/default.nix @@ -14,7 +14,6 @@ ./alacritty.nix ./rofi.nix ./firefox.nix - ./configs #./waybar.nix #./games.nix ]