mpv: use xdg.configFile
authorJulien Moutinho <julm@sourcephile.fr>
Thu, 3 Jun 2021 07:12:33 +0000 (09:12 +0200)
committerJulien Moutinho <julm@sourcephile.fr>
Thu, 3 Jun 2021 07:12:33 +0000 (09:12 +0200)
homes/softwares/mpv.nix

index 3c3cdf829a6b27b5abc7cf9e57bae4e2b6c6420a..186576c4142bb89f98c20fe7c91d2fe7e6cce528 100644 (file)
@@ -1,10 +1,8 @@
 {
-home.file = {
-  ".config/mpv/mpv.conf".text = ''
-    hwdec=auto-safe
-    profile=gpu-hq
-    vo=gpu
-    ytdl-format=18/mp4-480p/hls-480p/http-360p/mp4
-  '';
-};
+xdg.configFile."mpv/mpv.conf".text = ''
+  hwdec=auto-safe
+  profile=gpu-hq
+  vo=gpu
+  ytdl-format=18/mp4-480p/hls-480p/http-360p/mp4
+'';
 }