about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/default.nix2
-rw-r--r--system/packages/default.nix61
2 files changed, 34 insertions, 29 deletions
diff --git a/system/default.nix b/system/default.nix
index e065bfc9..5285a904 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -11,7 +11,7 @@
     ./font
     ./impermanence
     ./locale
-    #./packages
+    ./packages
     ./sound
   ];
 }
diff --git a/system/packages/default.nix b/system/packages/default.nix
index ecbbf904..23bd8695 100644
--- a/system/packages/default.nix
+++ b/system/packages/default.nix
@@ -1,4 +1,8 @@
-{pkgs, ...}: {}
+{
+  pkgs,
+  lib,
+  ...
+}:
 #with pkgs; let
 #  mapFun = x:
 #    if builtins.isAttrs x
@@ -7,33 +11,34 @@
 #      then [x]
 #      else builtins.attrValues x
 #    else [x];
-#in {
-#  nixpkgs.config.allowUnfreePredicate = pkg:
-#    builtins.elem (lib.getName pkg) [
-#      "steam"
-#      "steam-original"
-#    ];
-#
-#  environment.systemPackages = with builtins;
-#    concatLists
-#    (concatLists [
-#      (concatMap mapFun
-#        (concatMap mapFun
-#          (concatMap mapFun
-#            (concatMap mapFun
-#              (concatMap mapFun
-#                (concatMap mapFun
-#                  (attrValues Gui)))))))
-#
-#      (concatMap mapFun
-#        (concatMap mapFun
-#          (concatMap mapFun
-#            (concatMap mapFun
-#              (concatMap mapFun
-#                (concatMap mapFun
-#                  (attrValues TuiCli)))))))
-#    ]);
-#}
+#in
+{
+  nixpkgs.config.allowUnfreePredicate = pkg:
+    builtins.elem (lib.getName pkg) [
+      "steam"
+      "steam-original"
+    ];
+  #
+  #  environment.systemPackages = with builtins;
+  #    concatLists
+  #    (concatLists [
+  #      (concatMap mapFun
+  #        (concatMap mapFun
+  #          (concatMap mapFun
+  #            (concatMap mapFun
+  #              (concatMap mapFun
+  #                (concatMap mapFun
+  #                  (attrValues Gui)))))))
+  #
+  #      (concatMap mapFun
+  #        (concatMap mapFun
+  #          (concatMap mapFun
+  #            (concatMap mapFun
+  #              (concatMap mapFun
+  #                (concatMap mapFun
+  #                  (attrValues TuiCli)))))))
+  #    ]);
+}
 # QEMU
 # TEX
 # {{{