about summary refs log tree commit diff stats
path: root/nix-conf/home/includes
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-07-25 09:20:31 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-07-25 09:35:54 +0100
commitd9fb4954fe3861e9aa315ffceff4a7fb969ba783 (patch)
tree4cb8da0f80b62429b11ef2b9ffb45550ff543a48 /nix-conf/home/includes
parent1e899de37bd1cb86af34ff74395a91f992754dd2 (diff)
downloaddotfiles-d9fb4954fe3861e9aa315ffceff4a7fb969ba783.tar.gz
Don't include mpv and ffmpeg on darwin for now
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r--nix-conf/home/includes/dev-common.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nix-conf/home/includes/dev-common.nix b/nix-conf/home/includes/dev-common.nix
index a76eb72..6cf12ba 100644
--- a/nix-conf/home/includes/dev-common.nix
+++ b/nix-conf/home/includes/dev-common.nix
@@ -1,6 +1,8 @@
 { config, pkgs, lib, ... }:
+let
+    inherit (lib) optionals;
+in
 {
-
   imports = [
     ./common.nix
     ./clojure.nix
@@ -10,11 +12,12 @@
     docker
     docker-compose
     docker-credential-helpers
-    ffmpeg
     gopass-jsonapi
-    mpv
     multimarkdown
     neovim
+  ] ++ optionals (!stdenv.isDarwin) [
+    ffmpeg
+    mpv
   ];
 
   programs.tmux = {