about summary refs log tree commit diff
path: root/home/modules/games.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/modules/games.nix')
-rw-r--r--home/modules/games.nix22
1 files changed, 13 insertions, 9 deletions
diff --git a/home/modules/games.nix b/home/modules/games.nix
index c68342ba6bb7..a9adf9c91036 100644
--- a/home/modules/games.nix
+++ b/home/modules/games.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 
 with pkgs;
+with lib;
 
 let
 
@@ -42,13 +43,16 @@ let
     chmod +x $out/bin/dwarf-fortress
   '';
 
-in {
-  imports = [
-    ./obs.nix
-  ];
+in mkMerge [
+  {
+    home.packages = [
+      crawl
+    ];
+  }
+  (mkIf stdenv.isLinux {
+    home.packages = [
+      df
+    ];
+  })
+]
 
-  home.packages = [
-    crawl
-    df
-  ];
-}