Personal Nix setup
0
fork

Configure Feed

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

Move cocoapods to home-manager

+24 -3
+1
home/development/default.nix
··· 12 12 13 13 imports = [ 14 14 ./js.nix 15 + ./react-native.nix 15 16 ./terraform.nix 16 17 ]; 17 18 }
+23
home/development/react-native.nix
··· 1 + { lib, helpers, config, pkgs, ... }: 2 + 3 + with lib; 4 + let 5 + cfg = config.modules.development; 6 + in { 7 + options.modules.development.react-native = { 8 + enable = mkOption { 9 + default = cfg.enable; 10 + example = true; 11 + description = "Whether to enable React Native configuration."; 12 + type = types.bool; 13 + }; 14 + }; 15 + 16 + config.modules.apps.firefox = { 17 + enable = if helpers.isDarwin then (mkDefault true) else (mkForce false); 18 + }; 19 + } // helpers.darwinAttrs { 20 + config = mkIf (cfg.enable && cfg.react-native.enable) { 21 + home.packages = with pkgs; [ cocoapods ]; 22 + }; 23 + }
-1
machines/fanta/configuration.nix
··· 5 5 6 6 modules = { 7 7 fonts.enable = true; 8 - development.enable = true; 9 8 nvim.enable = true; 10 9 }; 11 10
-1
machines/sprite/configuration.nix
··· 5 5 6 6 modules = { 7 7 fonts.enable = true; 8 - development.enable = true; 9 8 nvim.enable = true; 10 9 }; 11 10
-1
modules/default.nix
··· 5 5 ./base 6 6 ./apps 7 7 ./desktop 8 - ./development 9 8 ./fonts 10 9 ./nvim 11 10 ./router