this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Create devshells for bootstrapping dotfiles

+26
+26
.config/flake.nix
··· 35 35 inherit (builtins) mapAttrs; 36 36 inherit (nixpkgs) lib; 37 37 38 + # TODO: maybe use https://github.com/numtide/flake-utils to help abstract 39 + # the per-system logic stuff... 38 40 systems = { 39 41 MacBook-Pro = { 40 42 system = "aarch64-darwin"; ··· 111 113 pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${system}; 112 114 }; 113 115 })) 116 + systems; 117 + 118 + devShell = lib.mapAttrs' 119 + (_: { system, ... }: 120 + let 121 + pkgs = if isDarwin system then 122 + inputs.nixpkgs-darwin.legacyPackages.${system} 123 + else 124 + inputs.nixpkgs.legacyPackages.${system}; 125 + in 126 + lib.nameValuePair 127 + system 128 + (pkgs.mkShell { 129 + # Minimal set of packages needed for bootstrapping dotfiles 130 + packages = with pkgs; [ 131 + cacert 132 + git 133 + git-crypt 134 + git-lfs 135 + gnupg 136 + yadm 137 + ]; 138 + }) 139 + ) 114 140 systems; 115 141 }; 116 142 }