diff options
author | ene <ene@sils.li> | 2023-02-19 22:54:29 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-19 22:54:29 +0100 |
commit | 6d3f7c681f57a46d88fa279d06e1d78d7754cd09 (patch) | |
tree | 393e4feb108bc9934d23869602dfbc19b2a49172 /system/packages | |
parent | Feat(lib): Import my system library (diff) | |
download | nixos-config-6d3f7c681f57a46d88fa279d06e1d78d7754cd09.tar.gz nixos-config-6d3f7c681f57a46d88fa279d06e1d78d7754cd09.zip |
Feat(home-manager): Actually deploy the packages
Diffstat (limited to '')
-rw-r--r-- | system/packages/default.nix | 61 |
1 files changed, 33 insertions, 28 deletions
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 # {{{ |