Skip to content

specialArgs being unexpected in HM configs

Error for context

error:                                                                                                                          
       … from call site                                                                                                         
                                                                                                                                
         at /nix/store/jvlyfqhqs93w1n1rbhi1b4jfmby34cl3-source/flake.nix:176:17:                                                
                                                                                                                                
          175|         #  nix run home-manager/master -- switch --flake .#plain                                                 
          176|         plain = home-manager.lib.homeManagerConfiguration {                                                      
             |                 ^                                                                                                
          177|           pkgs = nixpkgs.legacyPackages.x86_64-linux;                                                            
                                                                                                                                
       error: function 'homeManagerConfiguration' called with unexpected argument 'specialArgs'                                 
                                                                                                                                
       at /nix/store/3wp42glza14zbhpxnpa7zyxy7d45s63w-source/lib/default.nix:6:5:                                               
                                                                                                                                
            5|   homeManagerConfiguration =                                                                                     
            6|     {                                                                                                            
             |     ^                                                                                                            
            7|       check ? true,                                                                                              
[ble: exit 1]                                                                                                                   
                                                                                                                                
[ajhalili2006] nest in ~ [ nixpkgs][$][⏱ 4s]                                                                                  
❯ # oh dip                                                                                                                      
[ble: exit 1]